XFS : Corruption detected. Unmount and run xfs_repair

Solution Verified - Updated -

Issue

  • XFS filesystem encountered some corruption and filesystem repair is recommended.
Jan  1 12:42:12 server kernel: XFS (dm-1): Corruption detected. Unmount and run xfs_repair
  • XFS errors spotted in /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 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6 (with the Scalable File System Add-on)
  • Red Hat Enterprise Linux 5.6+ (with the Scalable File System Add-on)
  • 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