From owner-freebsd-questions Sat Mar 8 15:53:40 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB94637B401 for ; Sat, 8 Mar 2003 15:53:39 -0800 (PST) Received: from web20807.mail.yahoo.com (web20807.mail.yahoo.com [216.136.226.196]) by mx1.FreeBSD.org (Postfix) with SMTP id 28FFE43F75 for ; Sat, 8 Mar 2003 15:53:39 -0800 (PST) (envelope-from seunghun_t_lee@yahoo.com) Message-ID: <20030308235338.63867.qmail@web20807.mail.yahoo.com> Received: from [24.30.143.114] by web20807.mail.yahoo.com via HTTP; Sat, 08 Mar 2003 15:53:38 PST Date: Sat, 8 Mar 2003 15:53:38 -0800 (PST) From: Seunghun Lee Reply-To: thomasl@san.rr.com Subject: ata disk spindown timeout To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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