Hey there,
we have a Proxmox cluster with six nodes. Everything worked fine before my vacation. Now i'm having some trouble with lvm on one node. "vgs" takes 5 minutes to complete and shows this:
pvs:
I do now have an explanation how this happened. My colleague created two VMs and installed RHEL on them. But i can't think of any reason what went wrong. What's my best option here to get rid of those [unknown] devices? Or to find out what physical devices where used? I can't find anything in lsblkid or via findfs. I can find some of those UUID's in /etc/lvm/backup but only with [unknown] device. We connected our proxmox cluster to a SAN via FC and are using shared lvm thick volumes for our VMs. Luckily those two RHEL VMs have their own volume.
Any advice on what to do now? If i do vgreduce --removemissing rhel i'm told there are more than one vg with rhel and i have to use --select. But if i try --select:
Thanks in advance!
Cheers,
Daniel
we have a Proxmox cluster with six nodes. Everything worked fine before my vacation. Now i'm having some trouble with lvm on one node. "vgs" takes 5 minutes to complete and shows this:
Code:
vgs
Couldn't find device with uuid rptkmO-sIg8-pFcT-FD0M-1RXf-a6zP-eZTw1p.
Couldn't find device with uuid ladH8H-TTYn-oFVY-WJ0V-ZwhU-bh5K-jHPKNa.
VG #PV #LV #SN Attr VSize VFree
IWSVA 2 7 0 wz-pn- 104,84g 60,72g
pve 1 3 0 wz--n- 223,00g 16,00g
rhel 2 2 0 wz-pn- 548,99g 14,00g
rhel 2 2 0 wz-pn- 2,05t 60,00g
vg-cluster01-XYZ 1 2 0 wz--n- 5,00t 3,00t
vg-cluster01-demovolume 1 0 0 wz--n- 200,00g 200,00g
vg-cluster01-ZYX 1 2 0 wz--n- 1,50t 536,00g
vg-cluster01-online 1 1 0 wz--n- 1,50t 786,00g
vg-cluster01-s4h 1 6 0 wz--n- 3,00t 202,00g
vg-cluster01-storage01 1 74 0 wz--n- 20,00t 5,46t
vg-cluster01-storage01-YXZ 1 5 0 wz--n- 5,00t 824,00g
pvs:
Code:
root@pm-06:/etc/lvm/backup# pvs
Couldn't find device with uuid rptkmO-sIg8-pFcT-FD0M-1RXf-a6zP-eZTw1p.
Couldn't find device with uuid 7gYIcd-rEvM-w6TD-RXxn-tCoS-balO-7yNxQb.
Couldn't find device with uuid ladH8H-TTYn-oFVY-WJ0V-ZwhU-bh5K-jHPKNa.
PV VG Fmt Attr PSize PFree
/dev/mapper/pm-cluster01-XYZ vg-cluster01-XYZ lvm2 a-- 5,00t 3,00t
/dev/mapper/pm-cluster01-demovolume vg-cluster01-demovolume lvm2 a-- 200,00g 200,00g
/dev/mapper/pm-cluster01-ZYX vg-cluster01-ZYX lvm2 a-- 1,50t 536,00g
/dev/mapper/pm-cluster01-online vg-cluster01-online lvm2 a-- 1,50t 786,00g
/dev/mapper/pm-cluster01-s4h vg-cluster01-s4h lvm2 a-- 3,00t 222,00g
/dev/mapper/pm-cluster01-storage01 vg-cluster01-storage01 lvm2 a-- 20,00t 5,46t
/dev/mapper/pm-cluster01-storage01-YXZ vg-cluster01-storage01-YXZ lvm2 a-- 5,00t 824,00g
/dev/sda3 pve lvm2 a-- 223,00g 16,00g
/dev/vg-cluster01-s4h/vm-179-disk-1 rhel lvm2 a-- 50,00g 14,00g
/dev/vg-cluster01-s4h/vm-183-disk-2 rhel lvm2 a-- 100,00g 60,00g
/dev/vg-cluster01-storage01/vm-165-disk-1 IWSVA lvm2 a-- 79,97g 60,72g
[unknown] rhel lvm2 a-m 499,00g 0
[unknown] rhel lvm2 a-m 1,95t 0
[unknown] IWSVA lvm2 a-m 24,88g 0
I do now have an explanation how this happened. My colleague created two VMs and installed RHEL on them. But i can't think of any reason what went wrong. What's my best option here to get rid of those [unknown] devices? Or to find out what physical devices where used? I can't find anything in lsblkid or via findfs. I can find some of those UUID's in /etc/lvm/backup but only with [unknown] device. We connected our proxmox cluster to a SAN via FC and are using shared lvm thick volumes for our VMs. Luckily those two RHEL VMs have their own volume.
Any advice on what to do now? If i do vgreduce --removemissing rhel i'm told there are more than one vg with rhel and i have to use --select. But if i try --select:
Code:
root@pm-06:/etc/lvm/backup# vgreduce --removemissing rhel
Multiple VGs found with the same name: skipping rhel
Use --select vg_uuid=<uuid> in place of the VG name.
root@pm-06:/etc/lvm/backup# vgreduce --removemissing --select vg_uuid=rptkmO-sIg8-pFcT-FD0M-1RXf-a6zP-eZTw1p
vgreduce: unrecognized option '--select'
Error during parsing of command line.
root@pm-06:/etc/lvm/backup#
Thanks in advance!
Cheers,
Daniel
Last edited: