ext4 (fourth extended file system) is the default file system used by most Linux distributions. It manages how your operating system stores, retrieves, and organises files and folders on physical storage devices like hard drives and solid-state drives.
ext4 improves on ext3 by supporting files larger than 16TB, storage volumes up to 1EB (exabyte), and faster write speeds through a feature called delayed allocation. This means the system batches file writes together rather than committing each one immediately, reducing unnecessary drive activity and improving throughput. ext4 also introduced extent-based storage, which groups consecutive data blocks together, making large files more efficient to access.
Why it matters: If you run Linux on a desktop, server, or embedded device, ext4 handles your data. Understanding its capabilities helps you choose appropriate storage solutions and diagnose performance issues. ext4 includes journalling, which records changes before committing them to prevent data corruption if the system crashes unexpectedly.
Common considerations: ext4 performs well for most workloads but newer file systems like Btrfs and XFS offer additional features like snapshots or better scalability for specific scenarios. ext4 fragmentation is less problematic than with ext2 or ext3, but still occurs over time on systems with heavy write activity.
Most Linux users never interact with ext4 directly. Your distribution handles formatting during installation. You might check which file system you're using with the df -T command in a terminal, or consider file system choice when setting up servers or dual-boot systems.
