[Bug 595138] Re: Settings in /etc/hdparm.conf are not applied during boot
OscarMuntenaar
595138 at bugs.launchpad.net
Fri Jun 29 09:13:05 UTC 2012
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?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/595138
Title:
Settings in /etc/hdparm.conf are not applied during boot
Status in “hdparm” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: hdparm
After upgrade to Lucid the hard drives never spindown. The hdparm
spindown settings (and most likely others) in /etc/hdparm.conf are not
being applied during boot.
This seems to have happened after removing the init.d script.
lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
apt-cache policy hdparm
hdparm:
Installed: 9.15-1ubuntu9
Candidate: 9.15-1ubuntu9
Version table:
*** 9.15-1ubuntu9 0
500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
cat /etc/hdparm.conf
/dev/sda {
spindown_time = 240
}
/dev/sdb {
spindown_time = 240
}
/dev/sdc {
spindown_time = 240
}
/dev/sdd {
spindown_time = 240
}
/dev/sde {
spindown_time = 240
}
/dev/sdf {
spindown_time = 240
}
/dev/sdg {
spindown_time = 240
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/595138/+subscriptions
More information about the foundations-bugs
mailing list