A (dd cloned) backup of my boot partition left me with duplicate UUIDs.
blkid shows:
/dev/sda1: UUID="32579810-0388-416d-bb49-7031ac2c2975" TYPE="ext4"
...
/dev/mapper/raidgroup-osbackup: UUID="32579810-0388-416d-bb49-7031ac2c2975" TYPE="ext4"
...
where /dev/mapper/raidgroup-osbackup is an LVM device.
I booted from a live Ubuntu image and tried:
sudo tune2fs -U random /dev/mapper/raidgroup-osbackup
This appeared to succeed and the target device showed a new UUID.
However, after reboot /dev/mapper/raidgroup-osbackup was remounted at / and blkid showed the original UUID.
I thought the change with tune2fs was supposed to be permanent, but this does not seem to be the case. How can I fix this?