The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
Before performing a file system conversion, make a backup of the file system from which you can restore its state.
To convert a non-root ext2 file system to ext3:
Unmount the ext2 file system:
#
umount
filesystem
Use fsck.ext2 to check the file system.
bash-4.1#
fsck.ext2 -f
device
Use the following command with the block device corresponding to the ext2 file system:
#
tune2fs -j
device
The command adds an ext3 journal inode to the file system.
Use fsck.ext3 to check the file system.
bash-4.1#
fsck.ext3 -f
device
Correct any entry for the file system in
/etc/fstab
so that its type is defined asext3
instead ofext2
.You can now remount the file system whenever convenient:
#
mount
filesystem
For more information, see the tune2fs(8)
manual
page.