On Thu, Sep 25, 2008 at 11:07:55AM -0500, Jim Leonard wrote:
Alexander Schreiber wrote:
- do not use a journalling FS on the CF
Just because the device is solid-state doesn't mean you should ignore
journaling. The host computer can still abort halfway through a write
and bork the filesystem.
That's what fsck is for. Seriously. What most journaled file systems gain
you is that you don't need to spend 20 min in fsck after a powerfailure,
just less than a minute in journal rollback. And besides: both ext2
and, if needed, e2fsck are extremly robust.
Running a journaled FS on top of flash _greatly_ hastens the demise of
your flash, because of the massive amount (compared to the rest of the
flash) of write traffic the flash blocks in the journal will get. Even
wear leveling can only mitigate that effect so much.
- mount the
filesystem(s) on the CF with noatime (so reads don't cause
writes)
*That* is great advice for a CF. Most people miss that.
And missing that will also greatly reduce the live expectancy of your
flash device.
Regards,
Alex.
--
"Opportunity is missed by most people because it is dressed in overalls and
looks like work." -- Thomas A. Edison