Background info:
Cluster of 7 proxmox servers - in place upgrade to 4.4 failed, did 4.4 install from CD.
Restored cluster, restored VMS from backups.
VMS running on shared storage - no issues there
Local storage seems a bit messed up after upgrade, most of my servers have multiple drives, used to backup VMS from the shared storage.
First install was done a couple of years ago - If I remember correctly, the data volume was extended to include the extra drives - after the re-install I suspect the old LVM settings remained somehow
The data on the extra drives is mostly old backups, so I am not overly worried about it.
What would be the safest way to repair this issue on a running system?
The PV UUID on the drives seems to be different after the install - would it be possible to remove the old UUID and replace it with the current one?
Cluster of 7 proxmox servers - in place upgrade to 4.4 failed, did 4.4 install from CD.
Restored cluster, restored VMS from backups.
VMS running on shared storage - no issues there
Local storage seems a bit messed up after upgrade, most of my servers have multiple drives, used to backup VMS from the shared storage.
First install was done a couple of years ago - If I remember correctly, the data volume was extended to include the extra drives - after the re-install I suspect the old LVM settings remained somehow
The data on the extra drives is mostly old backups, so I am not overly worried about it.
What would be the safest way to repair this issue on a running system?
The PV UUID on the drives seems to be different after the install - would it be possible to remove the old UUID and replace it with the current one?
Code:
root@vwk-prox01:~# pvs
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
WARNING: Duplicate VG name pve: Existing rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
Couldn't find device with uuid B1cjBQ-U2Om-qvRP-fwRj-HDEP-SNCR-ZDswSs.
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- 464.47g 15.82g
/dev/sdb1 pve lvm2 a-- 2.00t 16.00g
unknown device pve lvm2 a-m 464.23g 0
root@vwk-prox01:~# vgs
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
WARNING: Duplicate VG name pve: Existing rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
Couldn't find device with uuid B1cjBQ-U2Om-qvRP-fwRj-HDEP-SNCR-ZDswSs.
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
VG #PV #LV #SN Attr VSize VFree
pve 2 3 0 wz-pn- 2.45t 16.00g
pve 1 3 0 wz--n- 464.47g 15.82g
root@vwk-prox01:~# fdisk -l |grep sd
Disk /dev/sda: 464.7 GiB, 498999492608 bytes, 974608384 sectors
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 528383 524288 256M EFI System
/dev/sda3 528384 974608350 974079967 464.5G Linux LVM
Disk /dev/sdb: 3.7 TiB, 3997997989888 bytes, 7808589824 sectors
/dev/sdb1 2048 7808589790 7808587743 3.7T Linux LVM
pvdisplay
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
WARNING: Duplicate VG name pve: Existing rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
Couldn't find device with uuid B1cjBQ-U2Om-qvRP-fwRj-HDEP-SNCR-ZDswSs.
--- Physical volume ---
PV Name unknown device
VG Name pve
PV Size 464.23 GiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 118842
Free PE 0
Allocated PE 118842
PV UUID B1cjBQ-U2Om-qvRP-fwRj-HDEP-SNCR-ZDswSs
--- Physical volume ---
PV Name /dev/sdb1
VG Name pve
PV Size 2.00 TiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 524287
Free PE 4095
Allocated PE 520192
PV UUID uWvHkq-6Ps8-Eqs0-eLRz-j3q8-pKt3-x8tygh
--- Physical volume ---
PV Name /dev/sda3
VG Name pve
PV Size 464.48 GiB / not usable 4.98 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 118905
Free PE 4050
Allocated PE 114855
PV UUID zMuwsk-0ZVk-FcSq-fPz9-cl1V-OIPe-dZBoGk
root@vwk-prox01:~# lvdisplay
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
WARNING: Duplicate VG name pve: Existing rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
Couldn't find device with uuid B1cjBQ-U2Om-qvRP-fwRj-HDEP-SNCR-ZDswSs.
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID c3ySu6-TbJ3-xeON-Oeed-9xk7-ccpw-f8Darz
LV Write Access read/write
LV Creation host, time proxmox, 2012-07-12 12:02:54 +0200
LV Status NOT available
LV Size 31.00 GiB
Current LE 7936
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID OZkrVO-fV4B-oYeU-Mui0-Wk7G-FGd1-viycEQ
LV Write Access read/write
LV Creation host, time proxmox, 2012-07-12 12:02:54 +0200
LV Status NOT available
LV Size 96.00 GiB
Current LE 24576
Segments 1
Allocation inherit
Read ahead sectors auto
--- Logical volume ---
LV Path /dev/pve/data
LV Name data
VG Name pve
LV UUID nCIGc3-uXzg-Al1n-kClB-IIE6-4VOm-hJzRgk
LV Write Access read/write
LV Creation host, time proxmox, 2012-07-12 12:02:54 +0200
LV Status NOT available
LV Size 2.31 TiB
Current LE 606522
Segments 2
Allocation inherit
Read ahead sectors auto
WARNING: Duplicate VG name pve: rj3oK2-fJha-Dnj0-ssBF-yBX5-T5Hf-copeiM (created here) takes precedence over 71h4As-Gd2h-MwFn-tjRo-QJHn-qx06-JL4Ag3
--- Logical volume ---
LV Path /dev/pve/swap
LV Name swap
VG Name pve
LV UUID zD0Y1U-T766-RdRQ-0W0C-R3U1-OxU6-unxPbJ
LV Write Access read/write
LV Creation host, time proxmox, 2017-04-08 08:34:49 +0200
LV Status available
# open 2
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:1
--- Logical volume ---
LV Path /dev/pve/root
LV Name root
VG Name pve
LV UUID 4NCzEX-MbNU-pn5f-7006-2cPb-rRXb-TvF0nb
LV Write Access read/write
LV Creation host, time proxmox, 2017-04-08 08:34:49 +0200
LV Status available
# open 1
LV Size 96.00 GiB
Current LE 24576
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:0
--- Logical volume ---
LV Name data
VG Name pve
LV UUID WdEkwG-Sa84-scXZ-LUOW-T392-qdTb-PzumUD
LV Write Access read/write
LV Creation host, time proxmox, 2017-04-08 08:34:50 +0200
LV Pool metadata data_tmeta
LV Pool data data_tdata
LV Status available
# open 0
LV Size 344.48 GiB
Allocated pool data 0.00%
Allocated metadata 0.43%
Current LE 88187
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:4