tune2fs
allows you to convert an ext2
file system to ext3
.
e2fsck
utility to check your file system before and after using tune2fs
. A default installation of Red Hat Enterprise Linux uses ext4 for all file systems. Before trying to convert, back up all your file systems in case any errors occur.
ext2
file system to ext3
, log in as root and type the following command in a terminal:
tune2fs -j block_device
block_device
contains the ext2 file system you wish to convert.
/dev/mapper/VolGroup00-LogVol02
.
/dev/sdb
X
, where sdb
is a storage device name and X
is the partition number.
df
command to display mounted file systems.