[ubuntu-uk] Changing duplicate RAID UUID

Paul Tansom paul at aptanet.com
Fri Oct 5 17:13:22 UTC 2012

** Paul Tansom <paul at aptanet.com> [2012-10-05 18:01]:
> I have a RAID mirror in a machine that has ended up with the same UUID as
> another one - which is causing a few issues with the fact that I was mounting
> via fstab with the UUID. Is there a way of resetting the UUID without
> destroying the data on the drive, or am I best to move the data, recreate the
> drive and move it back again? My Google FU is not helping today unfortunately
> :(
** end quote [Paul Tansom]

Aha, my Google FU has returned :) For anyone curious about the answer it was:

tune2fs /dev/md8 -U random

to assign a random new UUID to /dev/md8

Sorry for the list noise!!

Paul Tansom | Aptanet Ltd. | http://www.aptanet.com/ | 023 9238 0001
Registered in England  |  Company No: 4905028  |  Registered Office:
Crawford House, Hambledon Road, Denmead, Waterlooville, Hants, PO7 6NU

More information about the ubuntu-uk mailing list