From owner-freebsd-hardware@FreeBSD.ORG Mon Feb 28 17:34:07 2005 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 290F616A4CE for ; Mon, 28 Feb 2005 17:34:07 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id C65B043D64 for ; Mon, 28 Feb 2005 17:34:06 +0000 (GMT) (envelope-from des@des.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0ICM00HSETVVDL60@bgo1smout1.broadpark.no> for freebsd-hardware@freebsd.org; Mon, 28 Feb 2005 18:28:43 +0100 (CET) Received: from dsa.des.no ([80.203.228.37]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0ICM00D5FU8ABY60@bgo1sminn1.broadpark.no> for freebsd-hardware@freebsd.org; Mon, 28 Feb 2005 18:36:10 +0100 (CET) Received: by dsa.des.no (Pony Express, from userid 666) id 9D92B4536D; Mon, 28 Feb 2005 18:34:04 +0100 (CET) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id CF3AB4516B; Mon, 28 Feb 2005 18:33:44 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id C879B33C3E; Mon, 28 Feb 2005 18:33:44 +0100 (CET) Date: Mon, 28 Feb 2005 18:33:44 +0100 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: To: "Constantine A. Murenin" Message-id: <86sm3gfv2f.fsf@xps.des.no> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on dsa.des.no References: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.0.1 X-Spam-Level: cc: freebsd-hardware@freebsd.org Subject: Re: Limit Continuous Drive Activity to Power Down HDD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 17:34:07 -0000 "Constantine A. Murenin" writes: > The BIOS of the motherboard supports automatic HDD shutdown in > XX-minutes of inactivity. However, I have noticed that this doesn't > work as intended with FreeBSD: if I set BIOS to shutdown HDD in two > minutes of inactivity, and then I start FreeBSD without logging into > the system, the disc stops after a few minutes, but it starts again > after less than a few minutes due to some disc activity by FreeBSD. Comment out the atrun entry in /etc/crontab, and mount all your file systems noatime (change "rw" to "rw,noatime" in /etc/fstab). You may also want to change the newsyslog entry in /etc/crontab to only run once a day instead of every hour. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no