System information

6. Link count checks.
7. Freemap checks.
8. Superblock checks.
These phases, as well as messages printed during operation, are documented in depth in the
xfs_repai r(8) manual page.
xfs_repai r is not interactive. All operations are performed automatically with no input from the
user.
If it is desired to create a metadata image prior to repair for diagnostic or testing purposes, the
xfs_metad ump(8) and xfs_md resto re(8) utilities may be used.
12.2.3. Bt rfs
The btrfsck tool is used to check and repair btrfs filesystems. This tool is still in early development
and may not detect or repair all types of filesystem corruption.
By default, btrfsck does not make changes to the filesystem; that is, it runs check-only mode by
default. If repairs are desired the --repai r option must be specified.
The following three basic phases are performed by btrfsck while running:
1. Extent checks.
2. Filesystem root checks.
3. Root reference count checks.
The btrfs-i mag e(8) utility can be used to create a metadata image prior to repair for diagnostic or
testing purposes.
Chapt er 1 2 . File Syst em Check
89