Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2007 14:56:24 -0500
From:      "Rick C. Petty" <rick-freebsd@kiwi-computer.com>
To:        Garrett Cooper <youshi10@u.washington.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Discovering list of open files from "kernel level" without using utils like lsof
Message-ID:  <20070409195624.GA87746@keira.kiwi-computer.com>
In-Reply-To: <46192EFC.6030906@u.washington.edu>
References:  <46192EFC.6030906@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 08, 2007 at 11:05:48AM -0700, Garrett Cooper wrote:
> 	I'm trying to see if there's a simple tool that I could code in C/C++
> if necessary to spin down disks automatically to save power and disk
> life. Plus, I think that lsof actually would probe the devices and 'wake
> them up' instead of keeping them as-is. However, I could be wrong so if
> I am please let me know.

I read somewhere once that keeping disks spinning makes them last 10x
longer.

Personally, I've seen more disk failures on workstations which are
power-cycled regularly than on systems which are always running.

I've also seen disks work just fine while powered that just plain quit
immediately after a power cycle.

So you may save power by spinning the disks down, but I doubt you're
saving disk life (unless they're powered down for weeks at a time).

-- Rick C. Petty



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