Skip to main content
InterviewHubPRO
Section Overview
Q34

Question 34 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

68%
Linux OS Internals (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

What is the difference between Ext4 and XFS filesystems?

senior Levellinux-osAdvanced Internals

In Simple Words:

  • Ext4 (Fourth Extended Filesystem): Universal general-purpose Linux filesystem. Mature, reliable, excellent performance on smaller and medium-sized workloads. Supports online shrinking and growing.
  • XFS: High-performance 64-bit journaling filesystem created by SGI:
    • Exceptional parallel I/O throughput and scalability for massive multi-terabyte files and multi-threaded databases.
    • Default filesystem in RHEL / CentOS. Cannot be shrunk; only grown.