Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Mar 2003 15:53:38 -0800 (PST)
From:      Seunghun Lee <seunghun_t_lee@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   ata disk spindown timeout
Message-ID:  <20030308235338.63867.qmail@web20807.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I'd like to suspend my ata disk.

I dug up this old patch in freebsd-mobile and applied to 5.0-RELEASE-p4 and put
hw.ata.suspend=1800 in my loader.conf

I attach the patch.

Two things: 1800 sec == 30 minutes. it suspends waaay before it's been 30
minutes. The same thing happens with 18000 also. I'd say it is at around 3
minutes or so.
Second, it spins right back up almost right after it spins down. I noatime in
all of my mounts. (/export in one disk, /nautilus in another, and a third disk
spliced up into /usr, /var, /, etc) Even for /export and /nautilus which no
process should be touching (and fstat doesn't show anything) the thing spins
back up with in maybe seconds. I mean for the third mentioned disk, i'd suspect
syslogd or some other thing, but since /export is spinning up as well, I didn't
investigate.

So does anyone know why it spins back up and why the timeout isn't working
quite correctly?

=====
--Seunghun Lee

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030308235338.63867.qmail>