HDD click problem in Ubuntu

Posted by Dan Sosedoff on January 30, 2009

Since i completely switched to ubuntu 8.04 on my laptop i got very weird “click” sounds from hard drive. I thought it was just a simple “sleep” mode, parking heads or something pretty simple. But that sound began to appear so often (sometimes 2 clicks in 1 secons)  that i cant even get sleep with that disturbing sound.. But that sound appeared only in ubuntu and never heard it in other os. Wtf  is going on? After googling for a short time i figured out what was the problem – Advanced Power Management in Ubuntu.

Solution was very simple. Just turn off this power management:

sudo hdparm -B255 /dev/sda

If you have more than one drive – the same operation but with different device. That`s it.