XFS filesystem cannot be mounted after changing the uuid using xfs_admin from xfsprogs-4.5 on RHEL
Issue
After updating the filesystem uuid with xfs_admin from xfsprogs-4.5 I am unable to mount the filesystem.
# xfs_admin -U generate xfs_test.image
Clearing log and setting UUID
writing all SBs
new UUID = c530847f-42eb-4719-9d00-a0ae11e1d635
# mount xfs.image /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
# dmesg -t | tail
XFS (loop0): Superblock has unknown incompatible features (0x4) enabled.
Filesystem can not be safely mounted by this kernel.
XFS (loop0): SB validate failed with error -22.
Environment
- Red Hat Enterprise Linux 7.2
- xfsprogs-4.5.0-8.el7
- kernel-3.10.0-327.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
