XFS
Cheat sheet · https://pcornel.dk/topic.php?topic=2755
Answer
XFS is the default filesystem on RHEL: high-performance, journaled, scales well with large files and parallel I/O. It can grow online but cannot shrink.
Remember
Grow with xfs_growfs <mountpoint> (mounted). Plan sizes — shrinking means backup, recreate and restore. Repair with xfs_repair on an unmounted filesystem; -L (zero the log) is a last resort that can lose data.
First checks
findmnt— mount tree with optionsdf -hT— usage and filesystem typesfindmnt --verify— check /etc/fstabdmesg -T | grep -iE 'ext4|xfs|btrfs'— filesystem kernel messages
Verify in this order
mkfs.xfs → mounted → grown with xfs_growfs → repaired offline with xfs_repair
Where it usually breaks
First mismatch in hardware/block device → kernel driver/mapper/RAID/LVM → filesystem → mount namespace/options → path permissions/MAC → consumer I/O; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2755