Sunday, May 25, 2014

How To Convert Ext2 To Ext3 Files System In Linux

3:14 PM

We can able to convert from ext2 to ext3 to improve your linux file system.  Ext2 filesystem has been the Linux default but when the computer is rebooted or powered off without correctly shutting down, Ext2 filesystems are placed in an error state. When the computer comes back up, the user is confronted with some mildly confusing, and very intimidating, messages and choices, this may lead to warning, of  lose data.

Journalized filesystems are made to eliminate such error messages. The Ext3 filesystem is an Ext2 filesystem with a journal file and some filesystem driver additions making the filesystem journalized.


1.  Login into linux system as root user.

2. Check current linux file system in fstab.

root@linuxstorage:~#cat /etc/fstab

which display all mount partition and current file system.

3. Unmount the mounted partition.

root@linuxstorage:~#umount /dev/sda5


If you can't unmount it, then remount it read only (mount -o remount,ro /dev/sda5).

4. tune2fs -j /dev/sda5

root@linuxstorage:~# tune2fs -j /dev/sda5

5. Edit /etc/fstab, and for /dev/sda5, change ext2 to ext3.

root@linuxstorage:~#vi /etc/fstab

6. mount the converted file system partition(sda5 ).

root@linuxstorage:~#mount /dev/sda5

7.Reboot the system and check the file system.

root@linuxstorage:~#init 6

Written by

0 comments :

Post a Comment

 

© 2014 Linux Storages | Updated . All rights resevered. Designed by Templateism