Monday, January 26, 2009

tune2fs example

You can even upgrade ext2 file systems to ext3 versions automatically, with no loss of data or change in partitions. This upgrade just adds a journal file to an ext2 file
system and enables journaling on it, using the tune2fs command. Be sure to change the ext2 file type to ext3 in any corresponding /etc/fstab entries.

The following example converts the ext2 file system on /dev/hda3 to an ext3 file system by adding a journal file (-j): tune2fs -j /dev/hda3

No comments:

Post a Comment