[Gutsy] [Feisty] [Edgy] Ubuntu may eat Hard Drives due to overly-aggressive APM
This is present in Feisty and Edgy, and may be present in Dapper.
I have three different systems (one without a hard drive now). I've gone through three different hard drives in three years. All of them have excessive parking in Ubuntu, and not in windows, but primarily run Ubuntu.
All of the hard drive failures had a regular clicking (sometimes as often as every five-six seconds, sometimes longer, f.e. if the system is in use.
I've discovered that this clicking sound is the hard drive parking. Often. I've also heard that this is bad for the hard drives, as they are rated for a certain number of parks in their lifetime.
If I use hdparm to set APM to a higher value, the clicking stops or lessens.
I've edited every document in /etc that has "hdparm" in it, and changed the values from, f.e., 1, to higher settings. However, upon reboot, the problem persists unless I set it manually. For now, I'm going to set up a cron job to change it every once in a while.
Is there a place I can change this more permanently?
also: is it possible to have default apm settings be a bit less aggressive?
If the reason it's parking and re-parking so often is due to small writes, perhaps an increased write buffer would help.. ..although maybe that wouldn't be a good idea, in the case of a system freeze..
Some help on this would be appreciated.