[CentOS] drive to standby after idle timeout?

Tru Huynh tru at centos.org
Tue Jul 17 15:59:24 UTC 2007


On Tue, Jul 17, 2007 at 11:35:07AM -0400, Brian wrote:
> I'd like to to put the hard drives in standby mode during periods of  
> no activity. I'm just running a file server plus a couple small  
> things on a Qube 3 from home, although the web stuff will increase  
> it's still minimal.
> 
> On my NetBSD systems I can use atactl to do this via:
> 
> mount -u -o async,noatime,nodevmtime /
> mount -u -o async,noatime /usr
> atactl wd0 setidle 5
> 
> [wait a time]
> # atactl wd0 checkpower
> Current power status: Standby mode
> 
> I looked at smartctl but it doesn't look like I can set idle time  
> with it, just readout status and perform self-tests.  Is there a way?

if it's some IDE drive then hdparm(8) might help:

Cheers,

Tru
-- 
Tru Huynh (CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070717/4109536d/attachment.sig>


More information about the CentOS mailing list