fsck.xfs(8)

πŸ’– fsck.xfs(8) πŸ’–

System Manager's Manual πŸŽ€

✨ NAME ✨

fsck.xfs β€” do nothing, successfully πŸ’…

πŸ“œ SYNOPSIS πŸ“œ

fsck.xfs [ filesys ... ]

🌸 DESCRIPTION 🌸

okay so fsck.xfs is called by the generic Linux fsck(8) program at startup to check and repair an XFS filesystem 🧚 but bestie, XFS is a journaling filesystem, which means it does its recovery at mount(8) time if it actually needs to πŸ”₯ so fsck.xfs just shrugs and exits with a zero exit status. literally nothing to do, and it's still a success 😭✨

if you want to check the consistency of an XFS filesystem, or repair one that's damaged or corrupt, you want xfs_repair(8) 🫢

⚠️ hot tip from your favorite Unix girl: the sysadmin can force fsck.xfs to run xfs_repair(8) at boot time by creating a /forcefsck file, or by booting the system with fsck.mode=force on the kernel command line. πŸ’€ main character energy, but be intentional about it!

πŸŽ€ FILES πŸŽ€

  • /etc/fstab. the list of filesystems your system knows about πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

fsck(8), fstab(5), xfs(5), xfs_repair(8) πŸ’œ


bestie, that's the whole manual for fsck.xfs(8) 🌈 you're literally ready to go, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from