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

Re: spinning down disk when needed



Hello

H. S. (<greatexcalibur@yahoo.com>) wrote:

> I have a second hard disk /dev/hdb which has nothing installed on it
> and is used only for video data. So I uses it only a few hours a week.
> 
> I am wondering if I can spin it down when it is not mounted or when
> not being used and spin it up when needed. Any wepages or packages in
> Debian that can do this?

You can use hdparm. From the man page:

-S     Set the standby (spindown) timeout for  the  drive.
       [...]

-y     Force an IDE drive to  immediately  enter  the  low
       power  consumption standby mode, usually causing it
       to spin down.
       [...]

-Y     Force  an IDE drive to immediately enter the lowest
       power consumption sleep mode, causing  it  to  shut
       down  completely.
       [...]

(please read the parts I left out befor you use it)

best regards
        Andreas Janssen

-- 
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html



Reply to: