What is the difference between ext4 and XFS?
IntermediateConceptFilesystem Hierarchy, Inodes & Links
Answer
Both are mature journaling filesystems. XFS (RHEL default) scales better for large files and parallel I/O and allocates inodes dynamically, but it cannot be shrunk. ext4 (Debian/Ubuntu default) can grow and shrink (shrink offline only), has a fixed inode count, and has the more forgiving e2fsck. Use xfs_growfs for XFS and resize2fs for ext4.
More on Filesystem Hierarchy, Inodes & Links
Explain the purpose of the main top-level directories in the FHS.BeginnerWhat is the "/usr merge"?IntermediateWhat are /proc and /sys?BeginnerWhat is an inode? What does it store and what does it NOT store?BeginnerA disk shows free space but you get "No space left on device". Why?IntermediateWhat is a hard link?Beginner