• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

XFS Filesystem has duplicate UUID

October 7, 2019

Here’s how to fix a duplicate UUID on a XFS file system.

mount -o rw,nouuid /dev/sda1  /data

mount -o rw,nouuid /dev/sda1 /data

Mounting with nouuid will work, but not after a reboot.

To avoid a duplicate ID, run this command to generate a new UUID.

xfs_admin -U generate /dev/sda3
Clearing log and setting UUID
writing all SBs
new UUID = xxxxx-xxxx-xxxx-xxxxxxxxx

xfs_admin -U generate /dev/sda3 Clearing log and setting UUID writing all SBs new UUID = xxxxx-xxxx-xxxx-xxxxxxxxx

Filed Under: Linux Tagged With: duplicate, generate, mount, uuid, xfs

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023