Reverting to Ext2 File System can be made possible in a few easy steps. Let us discuss.
As part of our Server Management Services, we assist our customers with several Ext2 queries.
Today, let us see how we can revert its file system.
Reverting to Ext2 File System
In order to revert to an ext2 file system, our Support Techs recommend the following procedure.
In this article, we use the following value for the block device:
/dev/mapper/VolGroup00-LogVol02
Moving ahead, let us have a look into the steps our Support Techs follow:
Initially, we log in as root and unmount the partition. To do so, we type:
# umount /dev/mapper/VolGroup00-LogVol02
Then we have to change the file system type to ext2. For that, we type the following command:
# tune2fs -O ^has_journal /dev/mapper/VolGroup00-LogVol02
Later, we check the partition for errors. To figure them out, we run the following command:
# e2fsck -y /dev/mapper/VolGroup00-LogVol02
Then we run the below command to umount the partition again as ext2 file system:
# mount -t ext2 /dev/mapper/VolGroup00-LogVol02 /mount/point
Finally, we replace /mount/point with the mount point of the partition.
In addition, we need to make a note to delete any .journal file that exists at the root level of the partition.
We can also permanently change the partition to ext2.
To do so, we need to remember to update the /etc/fstab file, otherwise, it will revert back after booting.
[Stuck in between? We are glad to assist you out]
Conclusion
In short, we saw how our Support Techs revert to Ext2 File System for our customers.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments