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

Difference Between File System Types_PB

The document outlines the differences between the ext2, ext3, ext4, and XFS file systems, highlighting features such as journaling, maximum file sizes, and overall file system capacities. Ext2 lacks journaling, while ext3 introduces it, and ext4 offers enhanced capacities and options for journaling. XFS is noted for its high performance and support for very large file systems, with conversion instructions between ext2, ext3, and ext4 provided.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Difference Between File System Types_PB

The document outlines the differences between the ext2, ext3, ext4, and XFS file systems, highlighting features such as journaling, maximum file sizes, and overall file system capacities. Ext2 lacks journaling, while ext3 introduces it, and ext4 offers enhanced capacities and options for journaling. XFS is noted for its high performance and support for very large file systems, with conversion instructions between ext2, ext3, and ext4 provided.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Difference between ext2, ext3, ext4 and xfs

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

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