XFS metadata corruption after creating a new filesystem

Solution Verified - Updated -

Issue

  • Shortly after a new filesystem is created, we immediately saw metadata corruption errors during its first mount attempt:
mount: mount /dev/mapper/vg_rhel-lv_data on /mnt failed: Structure needs cleaning
  • Subsequent attempts to fix the filesystem metadata with xfs_repair also fail:
verified secondary superblock...
writing modified primary superblock
Primary superblock bad after phase 1!

Environment

  • Red Hat Enterprise Linux 7
  • Multipath enabled for storage LUNs
  • HP Storage P408e-p SR Gen10

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