4.2. Converting to an ext3 File System
The
tune2fs
command converts an ext2
file system to ext3
.
Note
To convert ext2 to ext3, always use the
e2fsck
utility to check your file system before and after using tune2fs
. Before trying to convert ext2 to ext3, back up all file systems in case any errors occur.
In addition, Red Hat recommends creating a new ext3 file system and migrating data to it, instead of converting from ext2 to ext3 whenever possible.
To convert an
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 to be converted.
Issue the
df
command to display mounted file systems.