On Fri, 2007-11-02 at 14:16 -0500, Les Mikesell wrote:
> How do you change the UUID's on md arrays? I often clone machines by
> separating RAID1 drives and letting them sync to new partners. If those
> separated drives ever find themselves back in the same machine, I
> wouldn't want them to rebuild automatically.
The man page for mdadm suggests that this can be done by using the update
(or U) option when assembling an existing array to specify a new UUID.
I have never tried this personally, so you would probably want to test
it before relying on it.