Difference Between File System Types_PB
Difference Between File System Types_PB
EXT2:
Ext2 stands for second extended file system
Ext2 does not have journaling feature
Maximum individual file size can be from 16 GB to 2 TB
Overall ext2 file system size can be from 2 TB to 32 TB
EXT3:
Ext3 stands for third extended file system
The main benefit of ext3 is that it allows journaling
Maximum individual file size can be from 16 GB to 2 TB
Overall ext3 file system size can be from 2 TB to 32 TB
Ext3 is default file system for Rhel 5.x
EXT4:
Ext4 stands for fourth extended file system
Starting from Linux Kernel 2.6.19 ext4 was available
Maximum individual file size can be from 16 GB to 16 TB
Overall maximum ext4 file system size is 1 EB (exabyte). 1 EB = 1024 PB
(petabyte). 1 PB = 1024 TB
Ext4 is the default file system for rhel6.x
In ext4, you also have the option of turning the journaling feature “off”
XFS:
The XFS file system is an extension of the extent file system
The XFS is a high-performance 64-bit journaling file system
XFS supports maximum file system size of 8 exbibytes
Journaling
A journaling filesystem keeps a journal or log of the changes that are being
made to the filesystem during disk writing that can be used to rapidly
reconstruct corruptions that may occur due to events such a system crash or
power outage.
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