[linux-lvm] how to change UUID of PV of duplicate partition (followup)
zkabelac at redhat.com
Fri Jan 6 20:06:17 UTC 2017
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
>> 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|" ]
filter = [ "r|/dev/sdc4|" ]
And set/change things with your existing lvm2 version....
More information about the linux-lvm