0% found this document useful (0 votes)
5 views

How to convert file system type from ext2 to ext3

The document provides step-by-step instructions for converting file systems from ext2 to ext3 and from ext3 to ext4. For both conversions, the file system must be unmounted, followed by running specific commands to enable journaling and perform a file system check. Finally, the file system is remounted to verify the changes in file system type.

Uploaded by

vrampesi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

How to convert file system type from ext2 to ext3

The document provides step-by-step instructions for converting file systems from ext2 to ext3 and from ext3 to ext4. For both conversions, the file system must be unmounted, followed by running specific commands to enable journaling and perform a file system check. Finally, the file system is remounted to verify the changes in file system type.

Uploaded by

vrampesi
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

How to convert file system type from ext2 to ext3

 Unmount the file system


# umount <fsname>
 Run below command to enable journaling for that device, so it will
automatically convert to ext3
# tune2fs -j </device_name>
 Then run fsck on that disk
# e2fsck -f </device_name>
 Later mount the file system and check fs type has been changed or
not
# mount <device_name> <mp_name>
# df -Th

How to convert file system type from ext3 to ext4


 Unmount the file system
# umount <fsname>
 Run below command to enable journaling for that device, so it will
automatically convert to ext3
# tune2fs -O extents,uninit_bg,dir_index </device_name>
 Then run fsck on that disk
# e2fsck -f </device_name>
 Later mount the file system and check fs type has been changed or
not
# mount <device_name> <mp_name>
# df -Th

You might also like