Limit Continuous Drive Activity to Power Down HDD

Dag-Erling Smørgrav des at des.no
Mon Feb 28 17:34:07 GMT 2005


"Constantine A. Murenin" <mureninc at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hardware mailing list