Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2005 23:53:51 -0500
From:      Eric Anderson <anderson@centtech.com>
To:        Don Lewis <truckman@freebsd.org>
Cc:        freebsd-hackers@freebsd.org, hselasky@c2i.net
Subject:   Re: Parking disk drive heads
Message-ID:  <430808DF.1000405@centtech.com>
In-Reply-To: <200508210444.j7L4ihEg028916@gw.catspoiler.org>
References:  <200508210444.j7L4ihEg028916@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Don Lewis wrote:
> On 20 Aug, Eric Anderson wrote:
> 
> 
>>As a data point, I've been using 64mb compact flash cards (rated at 100k 
>>writes) in about 100 Soekris boxes (running FreeBSD) for about 4 years, 
>>and they are all still working, except for one.  Now, most compact flash 
>>cards are rated at 1 million writes.
>>
>>And yes, I'm logging to the card and everything..
> 
> 
> I've been using a laptop drive in my firewall and mail relay box for
> noise and power consumption reasons.  The drive specs only give an
> expected lifetime of a few years when running 24x7, and I just had to
> replace a drive that had been in service about four years.  I've given
> some thought to using flash, but I'm concerned about the number of
> writes, especially since a mail relay (maybe 1K messages/day) is going
> to be somewhat write intensive.  What would be nice is a flash-backed md
> device that would flush its contents to flash on power fail.

If you are running 6.0 or 7.0-CURRENT, you should check out gjournal 
recently released from a SoC project.  It can do some of this.  Maybe 
another possible solution would be a memory backed md device unioned 
over a flash device?   Anyhow, a cheap solution would be 2 flash devices 
mirrored with gmirror.  By the time it burns up, you'll be able to swap 
it with the same size for half the price, and if you put them on 
different IDE channels or use usb, you can do it live.

Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



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