Re: how to change UUID of PV of duplicate partition (followup)

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

 



Dne 6.1.2017 v 20:21 Xen napsal(a):
David Teigland schreef op 06-01-2017 20:19:
On Fri, Jan 06, 2017 at 08:10:20PM +0100, Xen wrote:
This is what I mean:

  Found duplicate PV 3U9ac3Ah5lcZUf03Iwm0cgMMaKxdflg0: using /dev/sdb4 not
/dev/sdc4

The handling of duplicate PVs has been entirely redone in recent versions.
The problems you are having are well known and should now be fixed.

Oh right, I was going to write my LVM version, but did not manage to produce
it yet, sorry :p.

Good to know. Yeah I am using 16.04 from Ubuntu's version.

  LVM version:     2.02.133(2) (2015-10-30)
  Library version: 1.02.110 (2015-10-30)
  Driver version:  4.34.0

Sigh... I guess I'll have to make some time to start using a recent version
then on this system. Perhaps it was due time. Always these old versions...

_______________________________________________


You can always 'fix it' you way.

Just setup  device filter in  lvm.conf  so you either  see diskA or diskB

In you particular  case:

 filter = [ "r|/dev/sdb4|" ]

or

 filter = [ "r|/dev/sdc4|" ]


And set/change things with your existing lvm2 version....

Regards

Zdenek


_______________________________________________
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