hdparm / APM / Hard Drive Clicking Sound
SHORT VERSION
Anyone know where I could find some documentation explaining the -B option of hdparm and it's implications regarding hard disk shock resistance and wear and tear? Or perhaps you have an explanation of your own? The man page is quite limited. =/ LONG VERSION I recently noticed a clicking sound coming from my laptop's (Ubuntu 7.04) hard drive every few seconds. Google showed me I was far from being alone - seems tons of GNU/Linux users have encountered this problem. It also seems to be a pretty dangerous thing, as AFAICT it eats away at the hard disk's life. FWIW, it's a confirmed issue in Ubuntu's bug thing (I assume on other distros too): https://bugs.launchpad.net/ubuntu/+bug/104535 https://bugs.launchpad.net/ubuntu/+s...ort/+bug/59695 A smartctl showed me my Load_Cycle_Count was through the roof. So I got worried about my drive dying a horrible early death and decided to work around the problem with what seems to be the most often recommended approach: Code:
sudo hdparm -B 255 /dev/sda Code:
win32sux@candystore:~$ sudo smartctl -a -d ata /dev/sda Code:
-B Set Advanced Power Management feature, if the drive supports it. A low value means aggressive power management and a high value means bet‐ Code:
win32sux@candystore:~$ cat /proc/sys/vm/laptop_mode |
Hi win32sux, I've spent a good portion of the morning trying to find some useful info on this topic. Alas, all I have come up with are more man pages and change logs all stating the same information just in different locations.
If it were me, I'd email the Author/developer/maitainer. I have read several articles today that mentioned he explained some of the hdparm switches via email. The address is available on the freshmeat and source forge project pages, and I wouldn't think he would mind explaining a switch with such a brief description. Sorry to be no more help. Good luck. ;-) |
Thanks for your support, Peacedog! :)
Yeah, emailing the developer is definitely something I would consider in the near future. For now, though, I'd like to wait and see what happens on this thread. BTW, if this clicking issue does indeed eat away at hard disks' life, it's IMHO appalling that it hasn't been addressed by the Ubuntu Laptop Team (the issue is over a year old). I would have at least expected an explanatory statement from them in those bug report pages, considering how potentially serious this is. That said, I wonder if other distros might have addressed this already - I'll have to look into that because if they did then they might have provided an explanation. Anyhow, I look forward to any more feedback anyone might have. If I find anything myself I'll make sure to post it. |
As far as I know APM was superseded by ACPI (google for both?). If so, you can disable APM without negative consequences as long as ACPI is working. Now that has sometimes issues with laptops, so you should look into it on your machine...
|
FYI: The issue has now found it's way to Slashdot. Hopefully this increase in attention translates into action on behalf of the Ubuntu folks. At this time, the issue's "importance" has not been elevated - it's still "wishlist".
|
Moved: This thread is more suitable in Ubuntu and has been moved accordingly to help your thread/question get the exposure it deserves.
Mod Note: As suggested, this appears to be a Ubuntu-centric issue, and so I'm moving it to that subforum |
Seems like a proper fix for this has finally found it's way to intrepid-updates. At least that's what I can gather after monitoring the discussion on the mailing list about this bug. I quote from the changelog:
Quote:
EDIT: Indeed, soon after posting this another update was released: Quote:
|
All times are GMT -5. The time now is 07:48 PM. |