From: roy@popmail.med.nyu.edu (Roy Smith)
Subject: Re: unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au)
Date: 1997/10/21 [thread overview]
Message-ID: <roy-2110971004340001@qwerky.med.nyu.edu> (raw)
In-Reply-To: EICLz9.AJ@utcc.utoronto.ca
mark@cita.utoronto.ca wrote:
> When the disk hasn't been accessed within some time window (I've
> not been able to quantify how long it has to be idle), it spins
> down!
Beats me why it's doing it, but as an (ugly) work-around, how about just
running a process which reads a random block from the raw drive every
minute? It's pretty gross, but it'll keep the idle timer (wherever it is)
from spinning the drive down, and the performance impact should be
minimal:
/* pseudocode */
fd = open ("/dev/rrzNc")
while(1)
{
i = random (0, SIZE_OF_DISK)
seek (fd, i)
read (fd, buf, 512)
sleep (60) /* or whatever it takes */
}
--
Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine
550 First Avenue, New York, NY 10016
prev parent reply other threads:[~1997-10-21 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-20 4:00 unexpected (and unwanted!) drive spindown (ST423451W on DEC PW433au) Mark Bartelt
1997-10-20 4:00 ` Glenn Everhart
1997-10-23 4:00 ` Stuart R. Fuller
1997-10-25 4:00 ` Monty C. Brandenberg
1997-10-25 4:00 ` Mark Bartelt
1997-10-20 4:00 ` Mark Bartelt
1997-10-21 4:00 ` Roy Smith [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox