Saturday, 30 September 2017

XFS Filesystem has duplicate UUID problem


XFS Filesystem has duplicate UUID problem


If you are unable to mount XFS filesystem with classical wrong fs type, bad superblock etc. error and you see the following message in kernel logs (dmesg) :

XFS: Filesystem sdb6 has duplicate UUID - can't mount. you can still mount the filesystem with nouuid options as below:mount -o nouuid /dev/sdb6 disk-6

But on every mount, you have to provide nouuid option. So, for exact solution you have to generate a new UUID for this partition with xfs_admin utility:

xfs_admin -U generate /dev/sdb6
Clearing log and setting UUID writing all SBs new UUID = 01fbb5f2-1ee0-4cce-94fc-024efb3cd3a4

after this, you can mount this XFS partition regularly.

0 comments:

Post a Comment

 

Copyright @ 2013 Appychip.

Designed by Appychip & YouTube Channel