XFS Online Repair
XFS online file system repair is supported with UEK 8U2 and later. In this release, the experimental tag is removed from the tooling.
You can use this feature to check and repair XFS filesystems while they remain mounted and fully operational. XFS online repair can reduce downtime and improve maintainability for mission-critical and large-scale deployments.
XFS online file system repair is achieved using the xfs_scrub utility,
which can detect and correct metadata corruption without requiring unmounting or
disrupting active workloads. You can run xfs_scrub to systematically
verify file system metadata such as inodes, directories, and allocation groups. When
inconsistencies are detected, the tool provides options to perform targeted repairs
while online.
To use this feature, ensure the system is running UEK 8U2 or later, and the latest XFS user-space tools.
See the xfs_scrub(8) manual page. See also https://docs.kernel.org/filesystems/xfs/xfs-online-fsck-design.html.