You are not logged in.

#1 2010-11-15 22:27:40

ikamusume
Member
Registered: 2010-11-15
Posts: 7

Keeping hard drive in sleep mode while not in use

I've got a spare hard drive in my box, which I'm currently using for backups with rsync scheduled to be done once a day via crond. Since it's only used once a day, I figured it would be a good idea to put it into sleep mode by adding `hdparm -Y /dev/sdb` to my backup script. However, I've got a problem with it randomly waking up while opening GTK save dialogs and such. How can I stop it from doing that or make it automatically go into sleep mode after a set amount of time while keeping my root drive awake at all times? And yeah, I know all the downsides of doing that, but noise is the primary issue here.


yakui 2.6.36-ARCH x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux
suika 2.6.32-lts i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
Nokia-N900 2.6.28.10power46 armv7l

Offline

#2 2010-11-15 23:17:45

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Keeping hard drive in sleep mode while not in use

You can check laptop-mode-tools for the various tunables they use to optimize disk usage and let it spindown as much as possible.


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#3 2010-11-27 15:47:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Keeping hard drive in sleep mode while not in use

@op - you ever figure this out?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB