ext2 to ext3

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

 



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?





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux