"When switching to battery power, /etc/acpi/power.sh issues the command hdparm -B 1 to all block devices. This leads to extremely frequent load cycles. For example, my new thinkpad has already done well over 7000 load cycles -- in only 100 hours. That's at least one unloading per minute. Googling for "load unload cycles notebook OR laptop" shows that most laptop drives handle up to 600,000 such cycles. As these values clearly show, this issue is of high importance and should be fixed sooner rather than later.
Please see for yourself how often your drive is load cycling:
smartctl -d ata -a /dev/sda
(This command is for an SATA drive; you'll need to install the smartmontools package first.)
See also http://
A pretty good fix is:
- create a file "99-hdd-spin-fix.sh"
- put in the following two lines:
- #!/bin/bash
- hdparm -B 255 /dev/sda
- place file in following directories:
- /etc/acpi/suspend.d/
- /etc/acpi/resume.d/
- /etc/acpi/start.d/
Spread the word!
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.