ext2/ext3/ext4 features in Linux

EXT2
  • Ext2 does not have journal feature.
  • Speed of file system(read-write) bit faster then ext3
  • Require fsck to recover data after unplanned reboot
  • By default there is no Online file system growth.
  • mkfs.ext2 or mke2fs Commands to format

EXT3
  • The main benefit of ext3 is that it allows journaling.
  • Bit slower then ext2 file-system
  • Does not require manual fsck (automatic file recovery is done at booting time)
  • Online file system growth
  • mkfs.ext3 or mke2fs -j commands to format


Ext4
  • # Supports huge individual file size and overall file system size.
  • # Maximum individual file size can be from 16 GB to 16 TB
  • # Overall maximum ext4 file system size is 1 EB (exabyte).
  • Directory can contain a maximum of 64,000 subdirectories (as opposed to 32,000 in ext3)
  • You can also mount an existing ext3 fs as ext4 fs
  • In ext4, you also have the option of turning the journaling feature “off”.


FSCK : 

If you want to run a fsck for any file system , please run the below command .

#umount /filesystem ; fsck -y /filesystem ; mount /filesystem ; mount -o remount,rw /filesystem ; exit



0 comments:

Post a Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks