XFS : Corruption detected. Unmount and run xfs_repair

Solution Verified - Updated -

Issue

  • XFS filesystem encountered some corruption and filesystem repair is recommended.

    Sep  1 12:42:12 server kernel: XFS (dm-3): Corruption detected. Unmount and run xfs_repair
    
  • RHEL 8 /var/log/messages:

    2023-04-18T12:27:26-04:00 [kern.alert] kernel: XFS (dm-1): Metadata corruption detected at xfs_dinode_verify.part.8+0x155/0x690 [xfs], inode 0xa03d21 dinode
    2023-04-18T12:27:26-04:00 [kern.alert] kernel: XFS (dm-1): Unmount and run xfs_repair
    

Environment

  • Red Hat Enterprise Linux 6 with Scalable Filesystem Add-On
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content