XFS metadata corruption after creating a new filesystem

Solution Verified - Updated -

Issue

Short after creating a new filesystem its shows signs of metadata corruption while trying to be mounted for the first time :

mount: mount /dev/mapper/vg_test on /mnt failed: Structure needs cleaning

Subsequent attempts to xfs_repair also fails :

verified secondary superblock...
writing modified primary superblock
Primary superblock bad after phase 1!

Environment

  • RHEL 7.6
  • 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