It seems that the default ACPI (power saving) settings for hard drives while running on battery power mode could be causing your hard drive to run an insane amount of load cycles, manifesting itself in “clicking” sounds and also the hard drive’s mechanical portions to be stressed quite a bit more than normal and life shortened to around 1yr (give or take).
Michael Baranov was kind enough to post a detailed fix for folks, essentially telling the hard drive to stop spinning down like crazy while running on battery power. The steps are as follows:
- Make a file named “99-hdd-spin-fix.sh”. The important thing is starting with “99″.
- Make sure the file contains the following 2 lines (fix it if you have PATA HDD):
#!/bin/sh
hdparm -B 255 /dev/sda - Copy this file to 3 locations:
/etc/acpi/suspend.d/
/etc/acpi/resume.d/
/etc/acpi/start.d/






















November 1st, 2007 at 12:47 pm
Is this for real or just a bunch of FUD?
November 1st, 2007 at 1:54 pm
Erik,
Seems to be legit. If you read the bug start to finish it’s not *that* bad, it just that the default ACPI settings have Ubuntu spinning down the hard drive *all the time* and then it needs to spin back up… over and over.
The aggressive power saving features mean the hard drive is doing a shit-ton more heavy lifting mechanically than it should be, wearing it down.
November 1st, 2007 at 2:04 pm
Ok, but what if I follow you tip. Will I then be wearing out my battery?
November 1st, 2007 at 2:10 pm
It will use a bit more battery power, but not necessarily wearing it now… sort of like keeping your screen on bright versus dim… keeping it on bright will require you to charge your computer more often, but it’s not necessarily like you are destroying your battery (since they seem to have so many charge cycles of life now).
Erik if you are thinking about applying these settings, just to get a feel for what others did you might want to read that bug thread. Maybe 15mins worth of reading? Seems most people in the thread turned on the setting with no ill effects. Hard drive just stopped “clicking so much”, I guess meaning it wasn’t parking itself as often them immediately waking itself back up.
April 13th, 2008 at 12:25 pm
My laptop running Ubuntu had hard drive failure after a year or so … and I didn’t abuse it, so have set up this on my new laptop.