xfs_metadump can be corrupted if stderr redirected to output

Solution Verified - Updated -


  • When restoring an xfs_metadump for analysis I receive errors

    [root@rhel7 ~]# xfs_mdrestore xfsmetadump.dmp xfs.img
    xfs_mdrestore: bad block count: 28535


  • Red Hat Enterprise Linux 7 and earlier
    • xfsprogs-4.5.0-22.el7.x86_64

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