[Solved] Unable to creat VM no souch volume group

r00tr4t

New Member
Jan 13, 2020
2
0
1
48
Hi I'm new to proxmox and I'm trying to create a pfSense vm on thin-provisioned storage.
I get this error.
Code:
  Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
TASK ERROR: unable to create VM 100 - no such volume group 'pfSense_tp'
What did I do wrong?

$ pvs
Code:
  PV         VG      Fmt  Attr PSize    PFree 
  /dev/sda1  zeno_vg lvm2 a--   931.50g 250.31g
  /dev/sdb1  zeno_vg lvm2 a--   931.50g 331.50g
  /dev/sdd3  pve     lvm2 a--  <110.75g  10.00g
$ vgs
Code:
  VG      #PV #LV #SN Attr   VSize    VFree 
  pve       1   4   0 wz--n- <110.75g  10.00g
  zeno_vg   2   5   0 wz--n-   <1.82t 581.81g
$ lvs
Code:
  LV             VG      Attr       LSize   Pool    Origin Data%  Meta%  Move Log Cpy%Sync Convert
  data           pve     twi-aotz-- <55.25g                0.00   1.59                           
  root           pve     -wi-ao----  27.50g                                                      
  swap           pve     -wi-ao----  16.00g                                                      
  vz             pve     Vwi-a-tz--  70.00g data           0.00                                  
  ocypete_bacup  zeno_vg -wi-ao---- 181.00g                                                      
  pfSense        zeno_vg Vwi-a-tz--  10.00g zeno_tp        0.00                                  
  zeno_documents zeno_vg -wi-ao---- 400.00g                                                      
  zeno_iso       zeno_vg -wi-ao---- 100.00g                                                      
  zeno_tp        zeno_vg twi-aotz-- 600.00g                0.00   10.35
 
Last edited:
TASK ERROR: unable to create VM 100 - no such volume group 'pfSense_tp'

You set a non-existing VG for the PVE Storage config entry.. Check out your /etc/pve/storage.cfg, it probably has a entry with a "vgname pfSense_tp" property, fix that to one of the existing VGs, probably the "zeno_vg" one.

You can also use the Webinterface to recreate that storage under DC → Storage with a actually existing VG.
 
  • Like
Reactions: petru

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!