Comment 22 for bug 595138

Revision history for this message
OscarMuntenaar (oscar-muntenaar) wrote : Re: [Bug 595138] Re: Settings in /etc/hdparm.conf are not applied during boot

On 29-6-2012 10:57 AM, Antonino Catinello wrote:
> Are you guys sure that it is a problem with hdparm and not with the apm
> configuration?
>
> Have you tried to enable it in hdparm.conf?
>
> apm = 255
>
also look at the B parameter of the disks with hdparm.

manpage:
  -B Get/set Advanced Power Management feature, if the drive
supports it. A low value means aggressive power management and a high
value means better
               performance. Possible settings range from values 1
through 127 (which permit spin-down), and values 128 through 254 (which
do not permit spin-
               down). The highest degree of power management is
attained with a setting of 1, and the highest I/O performance with a
setting of 254. A value
               of 255 tells hdparm to disable Advanced Power Management
altogether on the drive (not all drives support disabling it, but most do).

Due to this bug I have moved my server to debian 6, and all over sudden
I found the value of B needed to be set to 128 to get spin down to work
correctly, although the manpages say above 127 does not allow spindown.
If set to 127 my disks spindown but spinup instantly, and with B set to
128 all is working fine in debian, so it might help in Ubuntu too?