ext2 to ext3

Jacob Schmude jacobs at surferie.net
Fri Jul 11 19:39:25 EDT 2003


Hi
Obviously, the first thing is to enable ext3 support in that machine's 
kernel. I recommend building ext3 into the kernel and ext2 as a 
module, unless you're using red hat with there initrd-based booting 
scheme. Then, assuming that machine has at least e2fsprogs 1.3, execute:
tune2fs -j partition
Note, do not use the mount point, but use the actual partition. If at all 
possible, unmount the partition before doing this. If that is not 
possible, at least mount the filesystem read-only to minimize possible 
corruption. I personally haven't experienced corruption even when the 
partition was mounted, but better to be safe. The chance of corruption is 
quite small, as all it does is create the journal, it doesn't actually 
convert anything, since it doesn't have to. Ext3 is simply ext2 with a 
journal. Now, edit /etc/fstab and change the filesystem type of that 
partition from ext2 to ext3. Reboot with the ext3 enabled kernel and 
you're done.
HTH


On Fri, 11 Jul 2003, Alex Snow wrote:

> Hi All,
> The drive my ftp server is storing it's files on is currently formatted 
> in ext2.  How can I convert to ext3?





More information about the Speakup mailing list