[CLUE-Tech] Converting ext2 to ext3

Sean Reifschneider jafo at tummy.com
Mon Jul 22 17:42:47 MDT 2002


On Sat, Jul 20, 2002 at 07:03:00PM -0600, Jeffery C. Cann wrote:
>On Thursday 18 July 2002 11:54 am, you wrote:
>>  I believe the only on-disk difference between 2 and 3 is the journal, and 
>> an old ext2 kernel will just ignore the journal, with no ill-effects.  All 
>> of the journaling magic must live in the kernel driver.
>
>I think you are correct.  The only difference is the journaling.  Ext3 
>filesystem structure is the same as ext2:

Ext3 can also have B+Tree structured directories, which ext2 doesn't know
about.  However, you have to explicitly convert the directories from
old-style to B+Tree, so it won't happen unless you ask for it.  ext2 will
ignore the directory if it doesn't understand it.

It's true that ext2 can use ext3 file-systems, but only if they've been
cleanly unmounted.  If the journal contains transactions that need to be
replayed, ext2 will not mount it (at least not read/write, maybe ro).

Sean
-- 
 Rocky: "I must be getting near-sighted!  You look all fuzzy..."
 Bullwinkle: "Let's face it, Rock...  I *AM* all fuzzy."
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



More information about the clue-tech mailing list