Because ext3 is relatively new, some disk utilities do not yet support it. For example, you may need to shrink a partition with resize2fs, which does not yet support ext3. In this situation, it may be necessary to temporarily revert a file system to ext2.
Reverting from ext3 to ext2
To revert to ext2, just follow these 5 steps:
- To revert a partition, you must first unmount the partition by logging in as root and typing:
- Next, change the file system type to ext2 by typing the following command as root:
/sbin/tune2fs -O ^has_journal /dev/mapper/VolGroup00-LogVol02
- Now, check the partition for errors by typing the following command as root:
/sbin/e2fsck -y /dev/mapper/VolGroup00-LogVol02
- Then, mount the partition again as an ext2 file system by typing:
mount -t ext2 /dev/mapper/VolGroup00-LogVol02 /mount/point
*Note: In the above command, replace /mount/point with the mount point of the partition.
- Next, remove the .journal file at the root level of the partition by changing to the directory where it’s mounted and typing:
rm -f .journal
And there you have it! You now have an ext2 partition. *Note: If you want to permanently change the partition to ext2, remember to update the /etc/fstab file.
- How to Check the Apache Version on a Linux Dedicated cPanel Server
- How to Change a Password in Linux
- How to Check if Your Linux Server is Under DDoS Attack
Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.
The Hivelocity Difference
With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.