Unable to mount LVM snapshot of an XFS file-system
Issue
- Unable to mount LVM snapshot of a XFS file-system
# mount /dev/xfs_snap/snap snap
mount: wrong fs type, bad option, bad superblock on /dev/xfs_snap/snap,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
- Logs show errors similar to the following
May 11 14:30:50 dhcp52-219 kernel: Filesystem dm-3: Disabling barriers, trial barrier write failed
May 11 14:30:50 dhcp52-219 kernel: XFS: Filesystem dm-3 has duplicate UUID - can't mount
Environment
- Red Hat Enterprise Linux
- XFS file-system
- LVM snapshot
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.
