CertGrid CertGrid
Hands-on Lab·Red Hat Certified System Administrator

XFS, ext4 and VFAT Filesystems

Three filesystems, three `mkfs` commands, and one asymmetry that matters: **XFS cannot be shrunk**. ext4 is shrunk here to prove the contrast, and VFAT is shown silently ignoring a `chmod` - because it has no concept of Unix permissions at all.

File Systems Guide 37 of 67 Intermediate

Written against the versions above. XFS is RHEL's default for `/` and has been since RHEL 7. It can grow while mounted and can never shrink - there is no `xfs_shrink` and no shrink option to `xfs_growfs`. That single fact should decide how generously you size a volume.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0 (Coughlan)Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

Before you start

  1. Three volumes to format

  2. XFS

  3. ext4, and the space it holds back

  4. VFAT has no permissions

  5. The difference that decides your sizing

Official sources