Cannot create VM with automatically numbering

Jun 3, 2020
20
0
21
52
After years of running cluster, I have issues, with Proxmox cluster. Cannot create VM with automatically VM ID (in GUI), for example 124, because on node exists /dev/ProxmoxVMs/ProxmoxVMs-vm--124--disk--0, which I have to remove using sudo dmsetup remove ProxmoxVMs-vm--124--disk--0

On nodes in /etc/pve/storage.cfg I have

lvm: LVM
vgname ProxmoxVMs
base ISCSI:0.0.1.scsi-3600c0ff0005d1f180c6dd96601000000
content rootdir,images
saferemove 0
shared 1

Is it really needed after removing VM from GUI including "Purge purge from job configuration" and "Destroy unreferenced disks ..". to check if on nodes remained meaned artfects.
Of cource when I choose manually number (in GUI) VM is created with no problem.
 
You can either clean up your setup (I have no experience with LVM, so I can't help) or you can specify a new start value for that automaticly chosen VMID via:

Datacenter (PVE) --> Options --> Next Free VMID Range