I just experienced a weird problem on my Proxmox PVE Cluster. I have 10 or so KVMs running on a PVE host (2.6.32-4-pve). The VMs use virtio block devices that get mapped to logical volumes on the host.
Just now, in order to extend diskspace in one KVM guest (id=109, name=rio), I
What is happening here? The device with the "missing UUID" is the virtio-device that KVM Guest rio sees as its initial physical volume.
Also, the volume group 'mysql' does not belong to the host, it belongs to one of the guest VMs... strange.
At the moment I cannot start any VMs because of this error or modify any storage settings. Will a reboot of the KVM Host resolve this problem? Can I manually resolve this (even better)?
Thanks for your help!!
Just now, in order to extend diskspace in one KVM guest (id=109, name=rio), I
- added an additional virtio-LVM-backed disk from the web-interface
- stopped and started the guest (/dev/vdb appeared)
- extended the logical volume inside the guest
- pvcreate /dev/vdb
- vgextend rio /dev/vdb
- lvresize -L 10GB /dev/rio/root
- resize2fs /dev/rio/root
Code:
london:~# vgdisplay
--- Volume group ---
VG Name mysql
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 GB
PE Size 4.00 MB
Total PE 5119
Alloc PE / Size 5119 / 20.00 GB
Free PE / Size 0 / 0
VG UUID PLq0fS-64UY-0WnA-aHcd-f25C-x1W6-zX8JHm
Couldn't find device with uuid '7RzjNo-PSq0-NjEc-EFGf-luil-jmA3-c6nGrW'.
Couldn't find all physical volumes for volume group rio.
Couldn't find device with uuid '7RzjNo-PSq0-NjEc-EFGf-luil-jmA3-c6nGrW'.
Couldn't find all physical volumes for volume group rio.
Volume group "rio" not found
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 150
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 13
Open LV 11
Max PV 0
Cur PV 1
Act PV 1
VG Size 4.09 TB
PE Size 4.00 MB
Total PE 1072903
Alloc PE / Size 664576 / 2.54 TB
Free PE / Size 408327 / 1.56 TB
VG UUID PkBfxk-9sKc-xvXm-mfHl-npEs-fBmC-XKrfPM
What is happening here? The device with the "missing UUID" is the virtio-device that KVM Guest rio sees as its initial physical volume.
Also, the volume group 'mysql' does not belong to the host, it belongs to one of the guest VMs... strange.
At the moment I cannot start any VMs because of this error or modify any storage settings. Will a reboot of the KVM Host resolve this problem? Can I manually resolve this (even better)?
Thanks for your help!!