Convert an Existing Ext3 partition to Ext4
- Perform a system update to make sure you have the latest kernel and grub boot loader.
- Enable the Ext4 features (Once you run this command you will no longer be able to mount this partition using the Ext3 file system!)
- Run fsck to fix the disk structure we modified in the previous step with tune2fs
- Update your fstab file to reflect our changes
$ sudo apt-get update $ sudo apt-get upgrade
$ sudo tune2fs -O extents,uninit_bg,dir_index /dev/sdb1
$ sudo e2fsck -fpDC0 /dev/sdb1
/dev/sdb1 /media/sdb1 ext4 relatime,errors=remount-ro 0 1
When converting a drive with extents enabled, only new files will be created in the extents format. It will not convert existing files to use extents. However Ext4 can read both of them transparently.






















1 Comments
Bravo, you visited a great idea