[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing uuid of mdadm array



Tim Woodall wrote: 
> On Wed, 19 Oct 2022, Lucas Castro wrote:
> 
> > The array must be identified somehow, in mdadm, array is by uuid!
> > 
> 
> And I have two disks, which have the same uuid but are not part of the
> same array.
> 
> How do I tell mdadm that they aren't part of the same array?
> 
> I can't believe I'm the only person who has cloned a machine by breaking
> a raid1 array.
> 
> Or someone who has used dd to clone a disk that they then want to mount
> in parallel with the original

mdadm --zero-superblock --force
can be used, carefully.

You will need to re-add the disk to the new array and let it
sync.

-dsr-


Reply to: