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 | |
|---|---|
| Btrfs | Checksumming Copy on Write File system |
| ext4 | Evolved from ext3 adding many notable features including extents |
| XFS | Designed to maintain high performance with large files and file systems |
| F2FS | Flash file system initially developed by Samsung Electronics |
| OpenZFS | Advanced file system and volume manager originally developed for Solaris |
| GFS2 | Shared disk file system for Linux computer clusters |
| ext3 | Default file system for many popular Linux distributions |
| JFS | Journaled File System |
| UBIFS | File system for raw flash memory used through UBI volumes |
| OCFS2 | Extent-based cluster file system |
| JFFS2 | Log-structured flash file system designed for raw flash memory devices |
| Bcachefs | Advanced file system ejected from the mainline kernel |
| ScoutFS | Clustered file system designed for very large archival storage systems |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.
Files larger than 2GiB in size.
…
Files larger than 2TiB in size.
I don’t think these are separate features.