Skip navigation

AWS EBS volume UUID collisions on a DB recovery attempt. On a system that does not have the current volume with conflicting disk UUID mounted -mount and then un-mount the vol to replay any metadata changes made when the snapshot was taken, get the current UUID then set the unique UUID to prevent collisions.

$ mount /dev/xvdz && umount /dev/xvdz
$ xfs_admin -lu /dev/xvdz
$ xfs_admin -U some-unique-uuid-string-thing /dev/xvdz