Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2025 22:29:16 +0000
From:      Martin <iio7@protonmail.com>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Prevent spin-up of USB HD after upgrading to FreeBSD 15
Message-ID:  <t565nv2ZOb8O-k2pel6bLS_AsjvqgIA6Io6cGvbkWjcPbC_miDkRrqzEWflTpN5hvINq7vwhuZ6y8avls__jRm464UoxN944kTpB-8yXXQc=@protonmail.com>
In-Reply-To: <CANCZdfooL8vCCKbm0txCb%2BTDffGhxc1fDD4SwVLM08tDZPz=GA@mail.gmail.com>
References:  <j7XoSQMU-9G-lOiNcAsrUE4FmIzX26V971Z5fLI7RtfIyvm_6PoXbSksem-pXoMZNy9CchKhGl7C2T9xkQAlL84Y89Y5byUOkOuIwSnBtlY=@protonmail.com> <CANCZdfooL8vCCKbm0txCb%2BTDffGhxc1fDD4SwVLM08tDZPz=GA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Wednesday, December 17th, 2025 at 6:29 AM, Warner Losh <imp@bsdimp.com> wrote:

> On Tue, Dec 16, 2025, 10:17 PM Martin <iio7@protonmail.com> wrote:
> 
> > I posted this in "questions", but think this might be the more correct
> > place.
> > 
> > I have an external Toshiba USB drive that automatically spins down
> > after about 1 minute of idle. After upgrading to FreeBSD 15, the drive
> > keeps spinning up again about every 5 minutes even though it is not
> > being used and isn't mounted. This didn't happen in FreeBSD 14.3.
> > 
> > The drive is running ZFS.
> > 
> > I have monitored both /var/log/messages and daemon.log using tail to
> > see if anything happens, but nothing goes on in those logs when it
> > happens.
> > 
> > If I export the drive rather than just unmount then it doesn't happen.
> > So I am guessing that it's something ZFS specific/related perhaps.
> > 
> > I have also tested the same drive on the same machine using Artix Linux
> > and the drive stays spinned down, even when fully mounted using ZFS.
> > 
> > I have used "top -s 0.1" in order to see if I can get a glimpse at
> > something which might run on FreeBSD, but nothing is started.
> > 
> > What has changed from 14.3 to 15 that might cause this annoying
> > behavior? How do I track down what's spinning up my drive?
> 
> 
> I have a dtrace thing that can find all the commands being sent.
> 
> But before i go to the hassle.. what happens if you set kern.cam.da.poll_period=0?

It's the same, nothing changes.



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t565nv2ZOb8O-k2pel6bLS_AsjvqgIA6Io6cGvbkWjcPbC_miDkRrqzEWflTpN5hvINq7vwhuZ6y8avls__jRm464UoxN944kTpB-8yXXQc=>