Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I use Ubuntu 12beta on Lenovo Z575. I noticed that the disk spins down very quickly, few seconds after the last operation. And when I am working, e.g. in the vim and write quite often, it spins-up and -dow frequently, what is rather annoying (and causes the vim to freeze for a second...)

I used hdparm but it didn't change anything:

hdparm -S 24 /dev/sda # 2 minutes standby time

and I see (and hear) that the disk is idle or working:

hdparm -C /dev/sda
drive state is: standby
# or...
drive state is: active/idle

I have laptop-mode-tools already installed

share|improve this question

1 Answer

Maybe your computer works in laptop mode:
cat /proc/sys/vm/laptop_mode If the value is 1 it means the computer works in laptop mode. In this case you should set it to 0.

share|improve this answer
well, it is a laptop... Lenovo Z575 – Jakub M. Apr 26 '12 at 13:27
@JakubM. One of "feature" of laptop mode is to save battery by often suspending the disk. ;-) See laptop mode tools . You can try to tweak your setting in laptop-mode.conf (probably in /etc - I don't know Ubuntu very well) – digital_infinity Apr 26 '12 at 20:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.