Archive Manager

ext4 – extended file system

The ex4, or fourth extended file system, is a journaling file system for Linux which evolved from ext3.

ext4 adds many notable features particularly extents – a single descriptor for a range of contiguous blocks, as opposed to the traditional block mapping scheme used by ext2 and ext3. This represents an efficient way to represent large files, as well as using CPU more efficiently, and with fewer metadata IOs.

This also makes for quicker file system checks, which becomes more beneficial as the file system grows in size.

Key Features

  • Extended attribute blocks and large inodes.
  • Extent-based disk format.
  • Online Defragmentation.
  • Online filesystem resize reservations.
  • Hash-indexed directories.
  • Journal file/device present.
  • File type in directory entries.
  • Journal recovery required.
  • Files allocated with extent format.
  • Support for more than 2^32 filesystem blocks.
  • Flexible block group metadata location.
  • Reduced block group backups.
  • Reduced superblock backups.
  • Files up to 16GiB in size.
  • Group descriptor checksums and sparse inode table.
  • Over 32000 subdirectories.
  • Inode-features:
    • Larger inodes.
    • Inode reservation.
    • Nanosecond timestamps and creation time.
  • Journal checksumming – checksums the journal data to know if the journal blocks are failing or corrupted.
  • Option to turn off journaling.
  • Persistent preallocation.
  • Backward compatible with ext2 and ext3.
  • Allocation schemes:
    • Persistent pre-allocation.
    • Delayed allocation.
    • Multi-block allocation.
    • Stripe-aware allocation.
  • Extended attributes.
  • Quota journaling.
  • Implements discard/TRIM.

Website: www.kernel.org
Support:
Developer: Mingming Cao, Andreas Dilger, Alex Zhuravlev (Tomas), Dave Kleikamp, Theodore Ts’o, Eric Sandeen, others
License: GNU General Public License


Related Software

Journaling File Systems
ext4Evolved from ext3 adding many notable features including extents
XFSDesigned to maintain high performance with large files and file systems
BtrfsChecksumming Copy on Write File system
F2FSFlash file system initially developed by Samsung Electronics
OpenZFSAdvanced file system and volume manager originally developed for Solaris
GFS2Shared disk file system for Linux computer clusters
ext3Default file system for many popular Linux distributions
JFSJournaled File System
UBIFSFile system for raw flash memory used through UBI volumes
OCFS2Extent-based cluster file system
BcachefsAdvanced file system ejected from the mainline kernel

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
1 Comment
Oldest
Newest Most Voted
Axel
Axel
3 years ago

Files larger than 2GiB in size.
…
Files larger than 2TiB in size.

I don’t think these are separate features.