* is it possible to change the UUID of an array?
@ 2005-12-02 19:41 Adam Nevins
2005-12-05 2:56 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: Adam Nevins @ 2005-12-02 19:41 UTC (permalink / raw)
To: linux-raid
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 <univac@comcast.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: is it possible to change the UUID of an array?
2005-12-02 19:41 is it possible to change the UUID of an array? Adam Nevins
@ 2005-12-05 2:56 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2005-12-05 2:56 UTC (permalink / raw)
To: Adam Nevins; +Cc: linux-raid
On Friday December 2, univac@comcast.net wrote:
> 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.
Not easily, no. Maybe I could add an
--update=uuid:1234:5678.....
for mdadm-2.2 ....
NeilBrown
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-05 2:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02 19:41 is it possible to change the UUID of an array? Adam Nevins
2005-12-05 2:56 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).