5.3. Reverting to an Ext2 File System
In order to revert to an ext2 file system, use the following procedure.
For simplicity, the sample commands in this section use the following value for the block device:
/dev/mapper/VolGroup00-LogVol02
Procedure 5.2. Revert from ext3 to ext2
- Unmount the partition by logging in as root and typing:
# umount /dev/mapper/VolGroup00-LogVol02
- Change the file system type to ext2 by typing the following command:
# tune2fs -O ^has_journal /dev/mapper/VolGroup00-LogVol02
- Check the partition for errors by typing the following command:
# 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.Note
If a.journal
file exists at the root level of the partition, delete it.
To permanently change the partition to ext2, remember to update the
/etc/fstab
file, otherwise it will revert back after booting.