Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 2010 10:02:54 -0400
From:      "Brian A. Seklecki (CFI NOC)" <seklecki@noc.cfi.pgh.pa.us>
To:        Kaya Saman <kayasaman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mother board compatibility and CF card usage as main storage device for small DNS server
Message-ID:  <4CA4988E.2000200@noc.cfi.pgh.pa.us>
In-Reply-To: <4CA4461F.6030508@gmail.com>
References:  <4CA4461F.6030508@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/30/2010 4:11 AM, Kaya Saman wrote:
> I mean for a DNS server (all be it a small one) is it wise to use
> compact flash as storage??


For our GSLB DNS Slaves, we boot embedded/low power (or even VMs these 
days) systems with CF images off of flash, keep a shadow copy of /etc 
around, and program all file systems with R/W activity 
(/var/chroot/named/cache, where all zone files are fetched from Master 
NS) on MFS partitions, eliminating almost all write operations to the CF 
card.

No swap, and RD / (/var, etc.) and MFS /usr extracted from a tarball via 
modified rc(8).  /shadow is mounted noatime.

Minimal writes to flash.  The systems boot in about 30 seconds.

We actually run NetBSD, but we've done similar models on FreeBSD.

No CF card failures reported in five (5) years.  We use Transcend 
Industrial series.

Where it gets risky is if you just plain install a live functional 
FreeBSD on CF.  A million inodes for /usr/src and CF is about as fast as 
an ESDI hard drive in an IBM XT.

~BAS





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