is it possible to change the UUID of an array?

From: Adam Nevins <hidden>
Date: 2005-12-02 19:41:28

Hi,

I had a RAID-1 with two mirrors as my root partition.  I decided to
fail/remove one of the mirrors prior to upgrading parts of the OS so
that I'd have a backup just in case things went horribly wrong.  After
doing the upgrade, I wanted to compare the two mirrors, so I assembled a
new md with the failed mirror.  So far, so good.

The problem is that I now have two arrays with the same UUID.  I'm
assuming that automatic assembly is now broken.  For now, I've changed
mdadm.conf to specify the physical devices, but what I'd like to do is
generate a new UUID for one of the mirrors.  I haven't found a way to do
this without recreating the array.

kernel version: 2.6.11
mdadm version:  1.12.0

Thanks in advance,

Adam
-- 
Adam Nevins [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help