Subject: command to spin down ide drives
From: =SERGE=
Date: 10/22/2007 8:04:24 PM
Hi,
should I look deeper into the hdparm to spin down drives etc ?
thank you
Subject: command to spin down ide drives
From: Rikishi 42
Date: 10/22/2007 7:57:21 PM
On 2007-10-22, =SERGE= <serge_mtu@mtu-net.ru> wrote:
> should I look deeper into the hdparm to spin down drives etc ?
Deeper than what? There is only one depth to it.
This is what you need:
hdparm -S 180 /dev/hda
That sets timeout to 15 min.
For details, 'man hdparm'.
--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
Subject: command to spin down ide drives
From: Dances With Crows
Date: 10/22/2007 7:20:48 PM
Rikishi 42 staggered into the Black Sun and said:
> On 2007-10-22, =SERGE= <serge_mtu@mtu-net.ru> wrote:
>> should I look deeper into the hdparm to spin down drives etc ?
> Deeper than what? There is only one depth to it.
> hdparm -S 180 /dev/hda
> That sets timeout to 15 min. For details, 'man hdparm'.
...just remember that if a process wants to read from or write to a
disk, the disk subsystem will issue a spin-up command. Since there are
always processes reading from and writing to / and /var (syslog, various
daemons) then your /var disk will either be spinning constantly, or
jumping back and forth between spinning and not spinning. The first
case is better for long-term disk life even if it consumes slightly more
power. It should be easier to spin down disks that are not part of the
core system (not / , /var , /usr , or /home) and have them stay spun
down.
--
ROBERT: So how do we get the pig to stop running around?
TRIANGLE: I think we'll have to rely on the staple gun once again.
--Triangle & Robert
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
|