शब्दकोश · ऑपरेटिंग सिस्टम और सॉफ़्टवेयर

ext4

ext4 is the fourth extended file system, the long-standing default on many Linux distributions, offering journaling, large volumes, and good reliability.

अपडेट: अक्टूबर 6, 2026

ext4 is a journaling file system for Linux, the successor to ext3. It supports volumes up to 1 exbibyte and files up to 16 tebibytes, and it is the default on many distributions.

Why it matters

ext4 is a safe, well-tested choice for web servers and general Linux disks. Its journal keeps the file system consistent after an unclean shutdown, and tools like fsck can check and repair it. It uses Unix-style ownership and permissions.

Other options such as XFS, Btrfs, and ZFS add features like snapshots.

Example

$ sudo mkfs.ext4 /dev/sdb1
$ sudo mount /dev/sdb1 /var/www
$ df -i /var/www

The last command shows inode usage. A disk can report free space yet fail to create files if it runs out of inodes.

Common mistakes

  • Formatting the wrong device; confirm with lsblk before running mkfs.
  • Ignoring inode exhaustion on directories holding millions of small files.
  • Running fsck on a mounted file system.

Get notified when this term updates

Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.

यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.