Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Feb 2005 18:33:44 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        "Constantine A. Murenin" <mureninc@gmail.com>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Limit Continuous Drive Activity to Power Down HDD
Message-ID:  <86sm3gfv2f.fsf@xps.des.no>
In-Reply-To: <f34ca13c0502260840626a829b@mail.gmail.com>
References:  <f34ca13c0502260840626a829b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Constantine A. Murenin" <mureninc@gmail.com> 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



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