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 comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
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.