disk spindown

Bill Davidsen davidsen at tmr.com
Sun Apr 21 00:44:48 UTC 2013


Wolfgang S. Rupprecht wrote:
>
> Has anyone succeeded in spinning down disks under Fedora?
>
> I've done the following and the "hdparm -C" does show the disk spun
> down, but the next time I look it is spun up, and it stays up.  The disk
> is unmounted and I've stopped and disabled smartd, so it isn't accessing
> the disks.  I don't think anything else is either.  I'm probably missing
> a trick somewhere, but what???
>
>      disk=/dev/sdc
>
>      hdparm -S 120 $disk
>      hdparm -y $disk
>      hdparm -C $disk
>
> -wolfgang
>
The value after -S is not seconds, for people who don't use that option.
The drive will stay up a long time when accessed. As the man page says "The 
encoding of the timeout value is somewhat peculiar." If it doesn't spin down 
after an hour something is wrong.

One thing wrong might be jumpers, Other than that, I suspect something is still 
accessing it. udev?

-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


More information about the users mailing list