You are not logged in.

#1 2008-08-14 09:45:24

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

HDD Stop

What is the module or deamon which stops unactive hard disk drive? In GeeXboX everything's works fine.

Last edited by Rokixz (2008-08-14 10:43:24)


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#2 2008-08-14 10:29:18

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: HDD Stop

not quite sure what you mean but sdparm --command=stop /dev/sdx might work


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#3 2008-08-14 10:41:12

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: HDD Stop

Yes kishd, your command works fine, but I need when I'm not using my hard disk, it will stop working automatically.

Last edited by Rokixz (2008-08-14 10:43:07)


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#4 2008-08-15 03:44:23

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: HDD Stop

laptop-mode-tools has can set the disk timeout, but if you just want it to spindown after some inactivity, check the manpages of hdparm and/or sdparm.

Hdparm -S [0-255] has some effects.

Offline

#5 2008-08-15 06:49:39

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: HDD Stop

If you read the laptop-mode-tools homepage they do not recommend doing this with desktop hard drives.

Spinning down too many times may kill hard drives

Desktop hard drives are usually rated for only 40,000-50,000 spinups, and one spinup every 10 minutes will kill your 40,000-spinup HD in 277 days. So this is NOT recommended for server use, unless you increase the spinup interval dramatically, to say once every hour or two. Laptop hard drives are usually rated for around 300,000 spinups, so those will last about 2083 days or 6 years if you have them powered on 24-7.


neutral

Offline

Board footer

Powered by FluxBB