harddisk -> sleep

Pavel Machek pavel na suse.cz
Sobota Únor 17 14:32:19 CET 2001


Ahoj!

> > Neexistuje nejaky setric hardisku ? Masina mi nenajede se zapnutym APM v
> > BIOSu (asi kombinace mb a hd, proste se zasekne bootovani po rozpoznani
> > disku) a docela bych uvital, kdyby se po nejake dobe necinnosti "ztisil".
> > Jde nejak osidit ten bios (board s cipsetem UMC 881/886) a obejit to pres OS
> > (apm v jadre to neumi) ?
> 
> hdparm -S xxx /dev/hdx
> 
> z manu:
>        -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.

Spatny napad: disk se bude roztacet pri kazde blbosti, jako treba
zapis na disk. noflushd zapisy podrzi, aby neroztacel zbytecne.
								Pavel
-- 
I'm pavel na ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss na linmodems.org


Další informace o konferenci Linux