xfs_metadump can be corrupted if stderr redirected to output
Issue
-
When restoring an xfs_metadump for analysis I receive errors
[root@rhel7 ~]# xfs_mdrestore xfsmetadump.dmp xfs.img xfs_mdrestore: bad block count: 28535
Environment
- 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.