Product SiteDocumentation Site

Chapter 11. XFS Repair

11.1. Filesystems can be corrupted by
11.2. xfs_check
11.3. xfs_repair
11.4. xfs_repair – Phase 1
11.5. xfs_repair – Phase 2
11.6. xfs_repair – Phase 3
11.7. xfs_repair – Phase 4
11.8. xfs_repair – Phase 5
11.9. xfs_repair – Phase 6
11.10. xfs_repair – Phase 7
11.11. Triaging xfs_check and xfs_repair problems
11.12. xfs_repair and xfs_check should agree
11.13. Dump the offending inodes.
11.14. Mount and Repair Fails – Corrupted Log

11.1. Filesystems can be corrupted by

• Filesystems can be corrupted by
  • Hardware Errors
    • Media errors are common
    • Disks are getting bigger and bigger
  • To a much lesser degree, bugs in the filesystem
Filesystems are able to “repair” themselves since they consist of lists, links and reference counts that can be validated
  • But not all information is always recovered, inodes that do not have a parent directory is common due to the directory structure being corrupted