6.3. Reverting to an Ext2 File System
For simplicity, the sample commands in this section use the following value for the block device:
/dev/mapper/VolGroup00-LogVol02
If you wish to revert a partition from ext3 to ext2 for any reason, you must first unmount the partition by logging in as root and typing,
umount /dev/mapper/VolGroup00-LogVol02
Next, change the file system type to ext2 by typing the following command as root:
tune2fs -O ^has_journal /dev/mapper/VolGroup00-LogVol02
Check the partition for errors by typing the following command as root:
e2fsck -y /dev/mapper/VolGroup00-LogVol02
Then mount the partition again as ext2 file system by typing:
mount -t ext2 /dev/mapper/VolGroup00-LogVol02
/mount/point
In the above command, replace /mount/point
with the mount point of the partition.
If a .journal
file exists at the root level of the partition, delete it.
You now have an ext2 partition.
If you want to permanently change the partition to ext2, remember to update the /etc/fstab
file.