fdisk -l shows the volume so it looks like it's attached but when I follow these steps

echo "/dev/xvdg /vol2 xfs noatime 0 0" | sudo tee -a /etc/fstab
sudo mkdir /vol2
sudo mount /vol2

I get the error

 mount: wrong fs type, bad option, bad superblock on /dev/xvdg,
     missing codepage or helper program, or other error
     In some cases useful info is found in syslog - try
     dmesg | tail  or so

When I check dmesg I see

XFS: Filesystem xvdg has duplicate UUID - can't mount

What do I do?

1 Answer 1


Either mount without the UUID (short term solution):

mount -o nouuid DEVICE MOUNT_POINT

OR generate a new UUID for the device and then mount normally:

xfs_admin -U generate DEVICE

(First Google result by the way. XFS Filesystem has duplicate UUID problem)

  • The link does not exist anymore.
    – shshnk
    Jul 19, 2017 at 6:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.