Hello,
I am new to ProxMox and currently testing it in my local environment with 3 nodes: i3, msi and smhome.
Under Datacenter / Storage I added a new LVM (drive2) which is physically attached to "i3" node but it is also shared with my 2 other nodes: "msi" and "smhome".
When I want to create a new VM, I can do it without any issue on the "i3" node, but not on "smhome" node.
For some reason, "smhome" node reports drive2 as 0 b available 0 b capacity although it let me select it, but the VM is not created, this is the error message I receive:
"Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
TASK ERROR: unable to create VM 104 - no such volume group 'drive2'"
This is what I see on i3 node:
root@i3:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 drive2 lvm2 a-- <2.73t <2.70t
/dev/sdb3 pve lvm2 a-- <223.07g <16.00g
root@i3:~# vgs
VG #PV #LV #SN Attr VSize VFree
drive2 1 1 0 wz--n- <2.73t <2.70t
pve 1 6 0 wz--n- <223.07g <16.00g
root@i3:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vm-103-disk-0 drive2 -wi-a----- 32.00g
data pve twi-aotz-- 140.45g 5.38 1.39
root pve -wi-ao---- 55.75g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-aotz-- 32.00g data 4.88
vm-101-disk-0 pve Vwi-aotz-- 32.00g data 4.91
vm-102-disk-0 pve Vwi-aotz-- 96.00g data 4.61
And this is what I see on smhome node:
root@smhome:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 centos lvm2 a-- <297.09g 4.00m
/dev/sdb3 pve lvm2 a-- <223.07g 15.99g
root@smhome:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-a----- 243.33g
root centos -wi-a----- 50.00g
swap centos -wi-a----- 3.75g
data pve twi-aotz-- 144.37g 0.00 1.10
root pve -wi-ao---- 55.75g
swap pve -wi-ao---- 4.00g
root@smhome:~# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- <297.09g 4.00m
pve 1 3 0 wz--n- <223.07g 15.99g
What am I doing wrong? Why do I see the LVM on web interface (attached) but I can't use it to create a VM?
Thank you in advance.
I am new to ProxMox and currently testing it in my local environment with 3 nodes: i3, msi and smhome.
Under Datacenter / Storage I added a new LVM (drive2) which is physically attached to "i3" node but it is also shared with my 2 other nodes: "msi" and "smhome".
When I want to create a new VM, I can do it without any issue on the "i3" node, but not on "smhome" node.
For some reason, "smhome" node reports drive2 as 0 b available 0 b capacity although it let me select it, but the VM is not created, this is the error message I receive:
"Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
TASK ERROR: unable to create VM 104 - no such volume group 'drive2'"
This is what I see on i3 node:
root@i3:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 drive2 lvm2 a-- <2.73t <2.70t
/dev/sdb3 pve lvm2 a-- <223.07g <16.00g
root@i3:~# vgs
VG #PV #LV #SN Attr VSize VFree
drive2 1 1 0 wz--n- <2.73t <2.70t
pve 1 6 0 wz--n- <223.07g <16.00g
root@i3:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vm-103-disk-0 drive2 -wi-a----- 32.00g
data pve twi-aotz-- 140.45g 5.38 1.39
root pve -wi-ao---- 55.75g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-aotz-- 32.00g data 4.88
vm-101-disk-0 pve Vwi-aotz-- 32.00g data 4.91
vm-102-disk-0 pve Vwi-aotz-- 96.00g data 4.61
And this is what I see on smhome node:
root@smhome:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 centos lvm2 a-- <297.09g 4.00m
/dev/sdb3 pve lvm2 a-- <223.07g 15.99g
root@smhome:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-a----- 243.33g
root centos -wi-a----- 50.00g
swap centos -wi-a----- 3.75g
data pve twi-aotz-- 144.37g 0.00 1.10
root pve -wi-ao---- 55.75g
swap pve -wi-ao---- 4.00g
root@smhome:~# vgs
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- <297.09g 4.00m
pve 1 3 0 wz--n- <223.07g 15.99g
What am I doing wrong? Why do I see the LVM on web interface (attached) but I can't use it to create a VM?
Thank you in advance.