On Wed, Sep 24, 2008 at 10:42:13PM -0500, Jim Brain wrote:
Gene Buckle wrote:
On Wed, 24 Sep 2008, Doc Shipley wrote:
Chuck Guzis wrote:
I've toyed with the idea of setting up a Linux box with a
decent-size (512M) hunk of RAM,turning off swap and using it as a
network mailserver with CF instead of IDE disk to conserve power.
I'm not sure how long the CF would last. Assuming, say, 1000 emails
(including spam) a day worst-case, I might see one fail in less than
a year, depending upon where the writes landed. Leveling would
help, of course, but do CF cards auto-level, or does that
responsibility fall upon the system using them?
I can vouch for the fact that running a normal OS on CF will kill
the card in a hurry, even without swap.
Doc, there's a whole pile of Amiga users out there (found 'em today!)
that would argue that point with you. They're using them a lot on the
Amiga 1200, 500 and 2000 without issue.
g.
If you run Linux with the CF marked as a normal HD, it will cause issues
(any file access will touch the FS), but I think the newer Linux kernels
have an option to turn that off for certain drives.
Well, CF is just seen as an IDE disk. What you need to do on the OS side
is just:
- do not swap to the CF
- do not use a journalling FS on the CF
- mount the filesystem(s) on the CF with noatime (so reads don't cause
writes)
- if you write syslog to the CF, disable synchronous writes for
the logfiles (by prepending the path in syslog.conf with -)
- optional: use tmpfs for /tmp
I can vouch that running Linux with a CF does not kill
the card, at
Yes, if you do the above, the card will be fine and should have a nice
long lifetime. I've got two machines who are running from CF:
- gateway (does DSL, NAT, filtering, wireless gate, login gate, ...)
- bulk fileserver, so all the disks can be used for storage exported
via NFS
Works just fine ;-)
least when configured to use CF. Pyramid Linux is a
special distro used
for folks who want to gateway their cellular air cards to Wifi. It
mounts the entire OS as read-only, with a small RAM disk to handle logs
and stuff that needs to be R/W.
That however, has one problem: it makes the setup a lot more special.
With the above steps, you can just run it like any other Linux setup.
Regards,
Alex.
--
"Opportunity is missed by most people because it is dressed in overalls and
looks like work." -- Thomas A. Edison