XFS : Corruption detected. Unmount and run xfs_repair

Solution Verified - Updated -

Issue

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

    kernel: XFS (dm-1): Corruption detected. Unmount and run xfs_repair
    
  • XFS errors spotted in /var/log/messages:

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

Environment

  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • XFS Filesystem

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