Unable to Repair XFS Filesystem Using XFS Repair
To fix this error, run these commands:
1) Attempt to mount the partition to replay the log. Back up any important data on the partition if the attempted mount is possible.
# mount -t xfs /dev/<DEVICE> /<MOUNT>
2) If the partition was successfully mounted, unmount the filesystem, and then re-run the "xfs_repair -v" command.
# unmount /dev/<DEVICE>
# xfs_repair -v /dev/<DEVICE>
3) If the partition was not able to be successfully mounted, or if you still get the same error message when running "xfs_repair -v", try running xfs_repair with the "-L Force Log Zeroing" flag as a last resort. This option forces xfs_repair to zero the log even if it is dirty (contains metadata changes). Zeroing the log can leave the file system in an inconsistent state, resulting in data loss and data corruption, however it may allow uncorrupted data to be recovered.