ext4 · shipping · also fourth extended filesystem, ext4 filesystem

Ext4

Ext4 is a general-purpose Linux filesystem in the extended-filesystem family that supports extent-based block mapping and configurable journaling.

Related Observatory article: Ext4 on hesela.com

Ext4 divides storage into block groups. With the extent feature, a mapping describes a contiguous range of file blocks and the storage blocks backing it, rather than listing each block separately. Block groups, inodes and extents describe filesystem organization, not the physical layout inside an SSD. [2] [1]

Journaling depends on the has_journal feature; the filesystem name alone does not establish that a journal is present. With journaling enabled, data=ordered normally journals metadata rather than ordinary file contents; supported per-file data-journaling settings can override that policy. [6] The data=journal and data=writeback modes have different coverage and ordering. These policies do not supply an application's multi-file transaction boundary. [1] [3]

Journal replay addresses filesystem consistency after a crash. The metadata_csum feature checks filesystem structures; it is not a general per-file content checksum. Applications still need a persistence protocol and must check synchronization errors. Synchronizing a file alone does not guarantee persistence of its containing directory entry. [4] [5]

Relations

related
Ext4 auto_da_alloc, ext4 bigalloc, Ext4 data journaling, Ext4 ordered mode, Ext4 writeback mode, Ext4 fast commit, Ext4 orphan file, Ext4 orphan inode, Inode, File extent, Delayed allocation, fsync, Filesystem consistency invariant, Read-only mount

Limitations

  • A read-only mount can still replay the journal and write to storage. The documented ro,noload combination suppresses journal loading, but skipping replay after an unclean shutdown can leave inconsistencies; it does not repair them. [7]

Citations

  1. e2fsprogs ext4(5): filesystem family, extent and has_journal features (accessed 2026-10-24)
  2. Linux v6.16: ext4 block-group organization (accessed 2026-10-24)
  3. Linux v6.16: ext4 Journal (jbd2), metadata recovery and data modes (accessed 2026-10-24)
  4. Linux v6.16: ext4 metadata checksum coverage (accessed 2026-10-24)
  5. Linux man-pages fsync(2): file data, directory entries and errors (accessed 2026-10-24)
  6. e2fsprogs chattr(1): per-file data-journaling attribute j (accessed 2026-10-24)
  7. Linux v6.16: ext4 read-only mounts, journal replay and noload (accessed 2026-10-24)
Sources & caveats
  • Foundational source review using e2fsprogs documentation and Linux v6.16 design documents; no runtime test, capacity limit or performance ranking is asserted.

JSON: /data/terms/ext4.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Ext4. Hesela. 2026-10-24. https://hesela.dev/terms/ext4/