* making an ide hd sleep
@ 2001-12-06 11:23 Marcelo Borges Ribeiro
2001-12-06 12:06 ` José Luis Domingo López
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Marcelo Borges Ribeiro @ 2001-12-06 11:23 UTC (permalink / raw)
To: linux-kernel
Hi, I´d like to know if it's possible to put an ide hd to sleep after (for
example) 15 min. idle (i don´t know if an hd under linux stays idle that
amount of time. ). I tried mount -o noatime and hdparm -S 150 /dev/hda, but
it seems that when it sleeps it starts working after a few seconds (when it
sleeps!). Is there a way to have this feature under linux?
Thanks in advance,
Marcelo Ribeiro
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: making an ide hd sleep
2001-12-06 11:23 making an ide hd sleep Marcelo Borges Ribeiro
@ 2001-12-06 12:06 ` José Luis Domingo López
2001-12-06 14:52 ` Todd Inglett
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: José Luis Domingo López @ 2001-12-06 12:06 UTC (permalink / raw)
To: linux-kernel
On Thursday, 06 December 2001, at 09:23:28 -0200,
Marcelo Borges Ribeiro wrote:
> Hi, I´d like to know if it's possible to put an ide hd to sleep after (for
> example) 15 min. idle (i don´t know if an hd under linux stays idle that
> amount of time. ). I tried mount -o noatime and hdparm -S 150 /dev/hda, but
> it seems that when it sleeps it starts working after a few seconds (when it
> sleeps!). Is there a way to have this feature under linux?
>
man hdparm
--
José Luis Domingo López
Linux Registered User #189436 Debian Linux Woody (P166 64 MB RAM)
jdomingo EN internautas PUNTO org => ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT org => Spam at your own risk
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: making an ide hd sleep
2001-12-06 11:23 making an ide hd sleep Marcelo Borges Ribeiro
2001-12-06 12:06 ` José Luis Domingo López
@ 2001-12-06 14:52 ` Todd Inglett
2001-12-06 16:00 ` Kristian Peters
2001-12-07 20:37 ` Pavel Machek
3 siblings, 0 replies; 5+ messages in thread
From: Todd Inglett @ 2001-12-06 14:52 UTC (permalink / raw)
To: Marcelo Borges Ribeiro; +Cc: linux-kernel
Marcelo Borges Ribeiro wrote:
>Hi, I´d like to know if it's possible to put an ide hd to sleep after (for
>example) 15 min. idle (i don´t know if an hd under linux stays idle that
>amount of time. ). I tried mount -o noatime and hdparm -S 150 /dev/hda, but
>it seems that when it sleeps it starts working after a few seconds (when it
>sleeps!). Is there a way to have this feature under linux?
>
This is more difficult that it sounds. Section 4 of the Battery-Powered
mini HOWTO (which is a bit out of date) has some useful advice. You are
doing it right...but something is touching the filesystem (or swap) on
the drive. It would be nice if there would be some way of enabling
logging to say what process touched the filesystem. Of course the
logging itself would touch the filesystem (on a laptop :)).
http://www.linuxdoc.org/HOWTO/mini/Battery-Powered-4.html
-todd
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: making an ide hd sleep
2001-12-06 11:23 making an ide hd sleep Marcelo Borges Ribeiro
2001-12-06 12:06 ` José Luis Domingo López
2001-12-06 14:52 ` Todd Inglett
@ 2001-12-06 16:00 ` Kristian Peters
2001-12-07 20:37 ` Pavel Machek
3 siblings, 0 replies; 5+ messages in thread
From: Kristian Peters @ 2001-12-06 16:00 UTC (permalink / raw)
To: Marcelo Borges Ribeiro; +Cc: linux-kernel
Marcelo Borges Ribeiro wrote:
> Hi, I´d like to know if it's possible to put an ide hd to sleep after (for
> example) 15 min. idle (i don´t know if an hd under linux stays idle that
> amount of time. ). I tried mount -o noatime and hdparm -S 150 /dev/hda, but
> it seems that when it sleeps it starts working after a few seconds (when it
> sleeps!). Is there a way to have this feature under linux?
When your /var is located somewhere on /dev/hdaX probably not. My syslog makes
disc access every few seconds (strangely even without writing something..)
Disabling syslog might help, but that isn't an issue. So my drive wake up
immediately after went to sleep. But for other drives there
should be no problem.
*Kristian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: making an ide hd sleep
2001-12-06 11:23 making an ide hd sleep Marcelo Borges Ribeiro
` (2 preceding siblings ...)
2001-12-06 16:00 ` Kristian Peters
@ 2001-12-07 20:37 ` Pavel Machek
3 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2001-12-07 20:37 UTC (permalink / raw)
To: Marcelo Borges Ribeiro; +Cc: linux-kernel
Hi!
> Hi, I´d like to know if it's possible to put an ide hd to sleep after (for
> example) 15 min. idle (i don´t know if an hd under linux stays idle that
> amount of time. ). I tried mount -o noatime and hdparm -S 150 /dev/hda, but
> it seems that when it sleeps it starts working after a few seconds (when it
> sleeps!). Is there a way to have this feature under linux?
Get noflushd (see freshmeat). Its more clever than hdparm -S.
Pavel
--
"I do not steal MS software. It is not worth it."
-- Pavel Kankovsky
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-12-08 20:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-06 11:23 making an ide hd sleep Marcelo Borges Ribeiro
2001-12-06 12:06 ` José Luis Domingo López
2001-12-06 14:52 ` Todd Inglett
2001-12-06 16:00 ` Kristian Peters
2001-12-07 20:37 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox