I have recently installed Ubuntu 13.10 on my laptop, which is a Lenovo Z500. Everything works nicely so far, but occasionally there is some hard drive clicking.
I tried using the command:
hdparm -B 255 /dev/sda
With no avail, though.
Can anyone help? This laptop has been problematic with a lot of Linux distributions, and it always had that same clicking problem. If there is some more info that I can provide, just tell me, and I'll edit the post.
The hard drive is a Seagate ST500LT012-9WS142.
Edit #1: As this question has been marked as a possible duplicate, I should add more info. I've read the posts that have been suggested, and I came across using the hdparm command, which, as I said, does not work for me.
As someone else suggested, the file /usr/lib/pm-utils/power.d/95hdparm-ap should be edited. I have not tried that on Ubuntu 13.10, and I will attempt it, but as far as I remember, the hdparm command is being issued in that script as well.
I will also attempt to edit /etc/hdparm.conf, and will come back with the results.
I'd also like to add that I did try these two methods on other distros, and they didn't give the wanted result. :/ But, yes, I understand that those are other distros and that these methods might work on Ubuntu, so I'll try.
Edit #2: Editing /etc/hdparm.conf did not bring any satisfactory results. The clicking is still occurring.
The code used was:
/dev/sda {
apm = 254
apm_battery = 254
}