Hello,
I have a proxmox 3.3 cluster, with local LVM storage.
I have a Vm (KVM) which run a SLES 11 64 bits. This Vm use internal lvm2 config.
For test purpose, i have restored a backup of that Vm on the same node where the original Vm runs.
The original Vm had number 100, and the new had number 110.
After restore, at the end of the log, i have founded the following message:
Found duplicate PV n0oZ93MQU1LSwD4anAxDMJWSJ2U09PWv: using /dev/dataproxmox-01/vm-110-disk-2 not /dev/dataproxmox-01/vm-100-disk-2
Found duplicate PV SpHywqVzfjpE5IMupAT5yS1uvEddizjo: using /dev/dataproxmox-01/vm-110-disk-3 not /dev/dataproxmox-01/vm-100-disk-3
Found duplicate PV EoUX6oNuA5vcsXcNKtml2uiqGGn1I3CX: using /dev/dataproxmox-01/vm-110-disk-4 not /dev/dataproxmox-01/vm-100-disk-4
Found duplicate PV n0oZ93MQU1LSwD4anAxDMJWSJ2U09PWv: using /dev/dataproxmox-01/vm-110-disk-2 not /dev/dataproxmox-01/vm-100-disk-2
Found duplicate PV SpHywqVzfjpE5IMupAT5yS1uvEddizjo: using /dev/dataproxmox-01/vm-110-disk-3 not /dev/dataproxmox-01/vm-100-disk-3
Found duplicate PV EoUX6oNuA5vcsXcNKtml2uiqGGn1I3CX: using /dev/dataproxmox-01/vm-110-disk-4 not /dev/dataproxmox-01/vm-100-disk-4
So, i have destroyed the new Vm number 110, and i made a pvdisplay and a vgdisplay on the node.
The problem, and it seems not appear with debian, is that Volume groups names and logical volumes names of the Vm appears directly in the node.
In that case: sysvg, datavg, applivg
I have no multipath or bounded devices installed.
The following state is taken after removing Vm number 110. Before removing, number 110 was in place of 100.
Ex: /dev/dataproxmox-01/vm-110-disk-4 against /dev/dataproxmox-01/vm-100-disk-4
Some body have an idea ? Is there something to custom in lvm.conf ?
Please note that i have not this problem with debian wheezy Vms.
--- Physical volume ---
PV Name /dev/sdb1
VG Name dataproxmox-01
PV Size 1.09 TiB / not usable 3.79 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 286069
Free PE 87925
Allocated PE 198144
PV UUID xKCr8C-qqK4-iNL7-yFYW-Ry86-eqI8-k0r457
--- Physical volume ---
PV Name /dev/dataproxmox-01/vm-100-disk-4
VG Name datavg
PV Size 200.00 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 51199
Free PE 0
Allocated PE 51199
PV UUID EoUX6o-NuA5-vcsX-cNKt-ml2u-iqGG-n1I3CX
--- Physical volume ---
PV Name /dev/sda3
VG Name pve
PV Size 136.20 GiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 34866
Free PE 4095
Allocated PE 30771
PV UUID L6E9wI-LtEW-Snkj-yFM4-IGnU-8Zn5-fekgsu
--- Physical volume ---
PV Name /dev/dataproxmox-01/vm-100-disk-3
VG Name applivg
PV Size 20.00 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 5119
Free PE 0
Allocated PE 5119
PV UUID SpHywq-Vzfj-pE5I-MupA-T5yS-1uvE-ddizjo
--- Physical volume ---
PV Name /dev/dataproxmox-01/vm-100-disk-2
VG Name sysvg
PV Size 40.00 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 10239
Free PE 0
Allocated PE 10239
PV UUID n0oZ93-MQU1-LSwD-4anA-xDMJ-WSJ2-U09PWv
--- Volume group ---
VG Name dataproxmox-01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 56
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 8
Open LV 8
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.09 TiB
PE Size 4.00 MiB
Total PE 286069
Alloc PE / Size 198144 / 774.00 GiB
Free PE / Size 87925 / 343.46 GiB
VG UUID FlNS57-OlYU-MpBR-4P9O-WlKr-tom9-By1cpp
--- Volume group ---
VG Name datavg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 200.00 GiB
PE Size 4.00 MiB
Total PE 51199
Alloc PE / Size 51199 / 200.00 GiB
Free PE / Size 0 / 0
VG UUID Wxu4gQ-2hmV-Pxk6-dQRX-8M3T-3ha2-iKB9wA
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 136.20 GiB
PE Size 4.00 MiB
Total PE 34866
Alloc PE / Size 30771 / 120.20 GiB
Free PE / Size 4095 / 16.00 GiB
VG UUID IBh9gN-U9PD-xfg7-aaFf-1ibs-FNAc-wbo8uL
--- Volume group ---
VG Name applivg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 20.00 GiB
PE Size 4.00 MiB
Total PE 5119
Alloc PE / Size 5119 / 20.00 GiB
Free PE / Size 0 / 0
VG UUID mVbMvv-hN9E-Q3g8-5cJA-gRse-FIHP-wc4rJM
--- Volume group ---
VG Name sysvg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 40.00 GiB
PE Size 4.00 MiB
Total PE 10239
Alloc PE / Size 10239 / 40.00 GiB
Free PE / Size 0 / 0
VG UUID WXFxcS-dlEn-1jTT-mjfK-QtvP-axp7-b6E6fF
I have a proxmox 3.3 cluster, with local LVM storage.
I have a Vm (KVM) which run a SLES 11 64 bits. This Vm use internal lvm2 config.
For test purpose, i have restored a backup of that Vm on the same node where the original Vm runs.
The original Vm had number 100, and the new had number 110.
After restore, at the end of the log, i have founded the following message:
Found duplicate PV n0oZ93MQU1LSwD4anAxDMJWSJ2U09PWv: using /dev/dataproxmox-01/vm-110-disk-2 not /dev/dataproxmox-01/vm-100-disk-2
Found duplicate PV SpHywqVzfjpE5IMupAT5yS1uvEddizjo: using /dev/dataproxmox-01/vm-110-disk-3 not /dev/dataproxmox-01/vm-100-disk-3
Found duplicate PV EoUX6oNuA5vcsXcNKtml2uiqGGn1I3CX: using /dev/dataproxmox-01/vm-110-disk-4 not /dev/dataproxmox-01/vm-100-disk-4
Found duplicate PV n0oZ93MQU1LSwD4anAxDMJWSJ2U09PWv: using /dev/dataproxmox-01/vm-110-disk-2 not /dev/dataproxmox-01/vm-100-disk-2
Found duplicate PV SpHywqVzfjpE5IMupAT5yS1uvEddizjo: using /dev/dataproxmox-01/vm-110-disk-3 not /dev/dataproxmox-01/vm-100-disk-3
Found duplicate PV EoUX6oNuA5vcsXcNKtml2uiqGGn1I3CX: using /dev/dataproxmox-01/vm-110-disk-4 not /dev/dataproxmox-01/vm-100-disk-4
So, i have destroyed the new Vm number 110, and i made a pvdisplay and a vgdisplay on the node.
The problem, and it seems not appear with debian, is that Volume groups names and logical volumes names of the Vm appears directly in the node.
In that case: sysvg, datavg, applivg
I have no multipath or bounded devices installed.
The following state is taken after removing Vm number 110. Before removing, number 110 was in place of 100.
Ex: /dev/dataproxmox-01/vm-110-disk-4 against /dev/dataproxmox-01/vm-100-disk-4
Some body have an idea ? Is there something to custom in lvm.conf ?
Please note that i have not this problem with debian wheezy Vms.
--- Physical volume ---
PV Name /dev/sdb1
VG Name dataproxmox-01
PV Size 1.09 TiB / not usable 3.79 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 286069
Free PE 87925
Allocated PE 198144
PV UUID xKCr8C-qqK4-iNL7-yFYW-Ry86-eqI8-k0r457
--- Physical volume ---
PV Name /dev/dataproxmox-01/vm-100-disk-4
VG Name datavg
PV Size 200.00 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 51199
Free PE 0
Allocated PE 51199
PV UUID EoUX6o-NuA5-vcsX-cNKt-ml2u-iqGG-n1I3CX
--- Physical volume ---
PV Name /dev/sda3
VG Name pve
PV Size 136.20 GiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 34866
Free PE 4095
Allocated PE 30771
PV UUID L6E9wI-LtEW-Snkj-yFM4-IGnU-8Zn5-fekgsu
--- Physical volume ---
PV Name /dev/dataproxmox-01/vm-100-disk-3
VG Name applivg
PV Size 20.00 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 5119
Free PE 0
Allocated PE 5119
PV UUID SpHywq-Vzfj-pE5I-MupA-T5yS-1uvE-ddizjo
--- Physical volume ---
PV Name /dev/dataproxmox-01/vm-100-disk-2
VG Name sysvg
PV Size 40.00 GiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 10239
Free PE 0
Allocated PE 10239
PV UUID n0oZ93-MQU1-LSwD-4anA-xDMJ-WSJ2-U09PWv
--- Volume group ---
VG Name dataproxmox-01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 56
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 8
Open LV 8
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.09 TiB
PE Size 4.00 MiB
Total PE 286069
Alloc PE / Size 198144 / 774.00 GiB
Free PE / Size 87925 / 343.46 GiB
VG UUID FlNS57-OlYU-MpBR-4P9O-WlKr-tom9-By1cpp
--- Volume group ---
VG Name datavg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 200.00 GiB
PE Size 4.00 MiB
Total PE 51199
Alloc PE / Size 51199 / 200.00 GiB
Free PE / Size 0 / 0
VG UUID Wxu4gQ-2hmV-Pxk6-dQRX-8M3T-3ha2-iKB9wA
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 136.20 GiB
PE Size 4.00 MiB
Total PE 34866
Alloc PE / Size 30771 / 120.20 GiB
Free PE / Size 4095 / 16.00 GiB
VG UUID IBh9gN-U9PD-xfg7-aaFf-1ibs-FNAc-wbo8uL
--- Volume group ---
VG Name applivg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 20.00 GiB
PE Size 4.00 MiB
Total PE 5119
Alloc PE / Size 5119 / 20.00 GiB
Free PE / Size 0 / 0
VG UUID mVbMvv-hN9E-Q3g8-5cJA-gRse-FIHP-wc4rJM
--- Volume group ---
VG Name sysvg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 40.00 GiB
PE Size 4.00 MiB
Total PE 10239
Alloc PE / Size 10239 / 40.00 GiB
Free PE / Size 0 / 0
VG UUID WXFxcS-dlEn-1jTT-mjfK-QtvP-axp7-b6E6fF