Re: duplicate pv change uuid

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

 



On Fri, Jan 06, 2017 at 07:55:53PM +0100, Xen wrote:
> I want to ask again,
> 
> How can I change the UUID of a duplicated PV?
> 
> I mirrored a partition to another disk and tried to change its UUID with
> pvchange -u.
> 
> But I think LVM had already decided to replace the reference to the PV
> (partition) on the old disk by the reference to the new disk, or something.
> 
> For some reason it always prefers the wrong one.
> 
> Now I booted with just one disk but I cannot change the UUID of the running
> system, but if I connect the other disk I am afraid I won't be able to
> change it also.
> 
> How does one do this, again?

vgimportclone is meant to do this.  It strategically uses filters to
isolate and modify the intended devs.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux