fdisk -l显示音量,因此它看起来像是附加的,但是当我按照这些步骤操作时
echo "/dev/xvdg /vol2 xfs noatime 0 0" | sudo tee -a /etc/fstab sudo mkdir /vol2 sudo mount /vol2
我收到了错误
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
当我检查dmesg时,我看到了
XFS: Filesystem xvdg has duplicate UUID - can't mount
我该怎么办?
无需安装UUID(短期解决方案):
原文链接:https://www.f2er.com/ubuntu/347720.htmlmount -o nouuid DEVICE MOUNT_POINT
或者为设备生成新的UUID,然后正常挂载:
xfs_admin -U generate DEVICE
(顺便说一句谷歌的结果.XFS Filesystem has duplicate UUID problem)