Re: Re[2]: [linux-lvm] Spinning down/up drives.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks - much appreciated.

It never amazes me the stuff that's there when you know where to look :-)

On Sun, 2 Jun 2002 23:20, Anders Widman wrote:
> > All depends.  On the RAID5 I have running at work & home I have a
> > hot-spare & I have a hdparm -y /dev/hdg in rc.local which puts it to
> > sleep after boot-up as its useless having it spin if its not needed. 
> > NOTE: I have never been able to get hdparm -Y /dev/hdg working on any
> > drive even those that are suppost to support it.  Again any pointers or
> > info would be appreciated.
>
> Use "hdparm -S 242 /dev/hda"
>
> This is taken from the man page:
>
>
>
>        -S     Set  the  standby (spindown) timeout for the drive.
>               This value is used by the drive  to  determine  how
>               long to wait (with no disk activity) before turning
>               off the spindle motor to save  power.   Under  such
>               circumstances,  the  drive  may  take as long as 30
>               seconds to respond to  a  subsequent  disk  access,
>               though  most drives are much quicker.  The encoding
>               of the timeout value is somewhat peculiar.  A value
>               of  zero means "off".  Values from 1 to 240 specify
>               multiples of 5 seconds, for timeouts from 5 seconds
>               to 20 minutes.  Values from 241 to 251 specify from
>               1 to 11 units of 30 minutes, for timeouts  from  30
>               minutes  to  5.5 hours.  A value of 252 signifies a
>               timeout of 21 minutes, 253  sets  a  vendor-defined
>               timeout,  and 255 is interpreted as 21 minutes plus
>               15 seconds.
>
> //Anders

-- 
Adrian Head

(Public Key available on request.)

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux