You are not logged in.

#1 2014-04-28 01:49:02

sanhuesoft
Member
Registered: 2013-11-30
Posts: 37

Hard drive stop spinning after a while

I have a Lenovo laptop, running Arch Linux + KDE. I noticed that when I am on battery, the hard drive stop spinning after a while, and it's very annoying to listen the disk starting again, and again. and again. I'm not interested in save energy with this, so how can I deactivate it?

I thought it was the laptop-mode, but I runned a systemctl status laptop-mode.service, and the service is inactive. Any idea of what could be triggering this?


Laptop: Lenovo G460, Core i3 M370, 8GB Ram, Seagate Momentus 500GB, Arch Linux
Storage: Seagate Expansion Drive 4TB, Toshiba Canvio 500GB, Cirago 500GB
Mobile: Samsung Galaxy S3, Samsung Galaxy Tab 3 T211 7"
Audio: Bose Companion 20, Shure SRH440, Shure SE215, Sennheiser HD202

Offline

#2 2014-04-28 03:41:05

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: Hard drive stop spinning after a while

man hdparm. Check out -B and -S flags. hdparm -B255 -S0 /dev/your_drive should disable any powersaving settings altogether.
You could use udev rule to run hdparm when you swithch to battery, but there are probably more elegant solutions as well.
KDE might handle this via its own power settings as well. I haven't really used KDE ever, so I'm not sure about this, but it's still possible.

Offline

#3 2014-05-02 05:54:56

sanhuesoft
Member
Registered: 2013-11-30
Posts: 37

Re: Hard drive stop spinning after a while

What would be an elegant solution? This works pretty fine, but I don't want to be running hdparm with those parameters each time I run on battery... sad


Laptop: Lenovo G460, Core i3 M370, 8GB Ram, Seagate Momentus 500GB, Arch Linux
Storage: Seagate Expansion Drive 4TB, Toshiba Canvio 500GB, Cirago 500GB
Mobile: Samsung Galaxy S3, Samsung Galaxy Tab 3 T211 7"
Audio: Bose Companion 20, Shure SRH440, Shure SE215, Sennheiser HD202

Offline

#4 2014-05-02 08:53:20

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Hard drive stop spinning after a while

You could (mis-)use laptop-mode-tools and configure it to do nothing else but disable hdd power management.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

Board footer

Powered by FluxBB