Package: hdparm
Severity: serious
Tags: jessie sid

It is very common that hard disks default to do excessive head parking
attempts (click-ripples like every 8 seconds), just to be woken up
immediately.

To prevent early damage, a save default is: hdparm -B 254,
but there seems to be no possible way to configure such a default
that works for all disks out of the box.


To support a proper default, and actually shipping such a default,
I would suggest to support wildcards in hdparm.conf. And ship with a
visible default like this:

# default to prevent excessive hard disk wear
# (head parking, load-cycling)
/dev/disk/by-id/ata-* {
       apm_on_ac = 254
       apm_on_battery = 128 
}



Note 1)
There is currently some code in 95hdparm-apm that conditionally applies
*hardcoded* apm values (128/254) on battery/ac changes, but *nothing*
for booting/udev plugging with proper defaults.


Note 2)
It makes sense to have some new apm_on_battery and
apm_on_ac options (in addition to the current apm option), to
avoid disabling quick head parking for mobile battery devices on the
move.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to