Re: Ext3 Filesystem [OT?]

Stephen C. Tweedie (sct@redhat.com)
Fri, 10 Dec 1999 17:51:40 +0000 (GMT)


Hi,

On Wed, 8 Dec 1999 16:58:59 +0100 (MEZ), "Dr. Michael Weller"
<eowmob@exp-math.uni-essen.de> said:

> If the same <filename> is used as a journal by several filesystems it
> should nicely interact and know which journal entry belongs to which
> filesystems.

This is planned, but as you say:

> It is definitely difficult to replay/finalize a journal if not all
> filesystems are mounted, maybe even unmounted ones could be replayed
> as long as the disk is accessible.

Yep. The journal format already has support for shared journals in
principle, but doing the right thing when some of your filesystems may
be missing is nasty.

> This way, in the end state, there won't be a real ext3 fs, but ext2 with
> journal option would be ext3. An unclean ext2 with journal should just not
> mount w/o journal option,

That's already how it works. ext2 and ext3 are different codebases in
the kernel, but apart from the existance of a journal file, a
cleanly-unmounted ext3 filesystem can be mounted as ext2 quite happily.

> (It's still a pity that noone answered my embedded question: does a
> read-only mount of an ext3 work now or not?)

Yes.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/