[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ext3 in 2.4.15



Robert L. Harris wrote:

> If I want to convert a blank disk to ext3, compile the kernel then
> what?  Is there a simple how to?

Compile a kernel with ext3 support (not in a module if you want your
root fs to be ext3!), boot with the new kernel, then...

To create a new ext3 partition, use

    mke2fs -j /dev/hda6

(if the fs is on hda6, of course -- change to suit).

To convert an ext2 filesystem to ext3 very quickly (a few seconds), use

    tune2fs -j /dev/hda6

Then change /etc/fstab for the affected fs from ext2 to ext3, remount,
and off you go.

Note that the tune2fs -j can be done to either a mounted or an unmounted
filesystem (unless you're running kernel 2.4.10 or .11, in which case,
upgrade). If the fs is mounted when you convert it to ext3, you will get
a file called .journal in its root directory; if the fs is not mounted,
the journal inode will be invisible. It doesn't really matter either
way, but it's something that all new ext3 users should know just so they
won't be surprised by it.

Craig



Reply to: