Re: How errorproof is ext2 fs?
Mike Fedyk (mfedyk@matchmail.com)
Fri, 14 Sep 2001 13:39:17 -0700
On Fri, Sep 14, 2001 at 09:16:53PM +0200, Otto Wyss wrote:
> > Ext3 is a journalled ext2. Its in the 2.4-ac kernel trees. Reiserfs in the
> > -ac tree also supports big endian boxes.
> >
> At least ext2 and probably all the journalling fs lacks a feature the HFS+ from
> the Mac has (bad tongues might say "needs"), to keep open files without activity
> in a state where a crash has no effect. I don't know how it is done since I'm no
> fs expert but my experience with my Mac (resetting about once a month without
> loosing anything) shows that it's possible.
>
> I'd rather like to see this feature appear in one fs for Linux (preferable
> ext2). I think it's always better to not have error instead of fixing them afterwards.
>
You can. Make sure that all mounts use the "sync" flag in /etc/fstab.
You need to remember that unix systems are designed to be in a stable
environment, and enable optimizations that rely on those conditions. That
way, it can do more work in RAM which is faster than the disks.
If you expect to be in unstable conditions, you should take the speed hit,
and enable the sync flag.
Also remember, XFS, JFS, ReiserFS, and especially EXT3 take steps to do the
work for you without requiring the sync flag.
Mike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/