Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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