fsck.xfs(8) System Manager's Manual fsck.xfs(8)

# [NAME](#NAME)

fsck.xfs - do nothing, successfully

# [SYNOPSIS](#SYNOPSIS)

**fsck.xfs** \[ *filesys* ... ]

# [DESCRIPTION](#DESCRIPTION)

**fsck.xfs** is called by the generic Linux [**fsck**(8)](/man/os/xfsprogs/fsck.8) program at startup to check and repair an XFS filesystem. XFS is a journaling filesystem and performs recovery at [**mount**(8)](/man/os/xfsprogs/mount.8) time if necessary, so **fsck.xfs** simply exits with a zero exit status.

If you wish to check the consistency of an XFS filesystem, or repair a damaged or corrupt XFS filesystem, see [**xfs\_repair**(8)](/man/os/xfsprogs/xfs_repair.8).

However, the system administrator can force **fsck.xfs** to run [**xfs\_repair**(8)](/man/os/xfsprogs/xfs_repair.8) at boot time by creating a /forcefsck file or booting the system with "fsck.mode=force" on the kernel command line.

# [FILES](#FILES)

*/etc/fstab*.

# [SEE ALSO](#SEE_ALSO)

[**fsck**(8)](/man/os/xfsprogs/fsck.8), [**fstab**(5)](/man/os/xfsprogs/fstab.5), [**xfs**(5)](/man/os/xfsprogs/xfs.5), [**xfs\_repair**(8)](/man/os/xfsprogs/xfs_repair.8).

---

Document: fsck.xfs(8) from xfsprogs 7.2.1-r0 (Chainguard OS)
Source: https://kernel.googlesource.com/pub/scm/fs/xfs/xfsprogs-dev
