whatis ext4
ext4
Also known as: fourth extended filesystem
The default journaling filesystem on many Linux distributions, valued for stability, speed, and mature repair tools.
What Is ext4 in Linux?
ext4 is the successor to ext2 and ext3. Its journal lets it recover quickly after a crash without scanning the whole disk, and it supports large volumes, extents, and delayed allocation.
It lacks built-in snapshots, compression, and data checksums, which is why some distros have moved to Btrfs. For a simple, well-understood filesystem, ext4 is still hard to beat.
Example
sudo mkfs.ext4 -L data /dev/sdb1 Learn more about ext4
- ext4 vs Btrfs vs XFS Explained Choosing a Linux filesystem matters more than most default-accepting installs suggest. This guide compares ext4, Btrfs, and XFS on stability, snapshots, scalability, and which one fits which use case.
- fsck: Checking and Repairing Linux Filesystems Never run it on a mounted filesystem. Beyond that one rule, here is how to force a check at boot, what the repair prompts actually mean, and when a filesystem problem is really a disk problem.