You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

How can I solve “XFS Filesystem has duplicate UUID” error message on my Linux server/Desktop?. If you get this error message in kernel dmesg logs, it means you cannot mount your XFS partition. But don’t worry since we have a solution for you in this guide.

To bridle this, you can mount your XFS filesystem at runtime using nouuid option with the mount command.

sudo mount -o rw,nouuid /dev/sda3  /mnt

If you reboot your solution, this solution won’t work. You have to use nouuid every time you want to mount. For a permanent solution, generate a new UUID for this partition using xfs_admin command-line tool:

$ sudo xfs_admin -U generate /dev/sda3
Clearing log and setting UUID
writing all SBs
new UUID = 95d271cc-2987-43cd-abbb-bf44eddf158d

After the generation of a new UUID, you can mount the affected partition normally.

Similar:

How To extend/increase KVM Virtual Machine (VM) disk size

How to resize an ext2/3/4 and XFS root partition without LVM

Mount /tmp on a separate partition in Linux

How to create disk partitions in Windows using diskpart command

Ceph vs GlusterFS vs MooseFS vs HDFS vs DRBD

As an appreciation for the content we put out,
we would be thrilled if you support us!


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here