LVM LUN-main is not active


New Member
Oct 17, 2023
Need help to activate the lun-main lvm in one of the pve nodes:

in syslog I am getting this error:

2023-10-22T10:27:39.785303+03:00 VMS02 pvestatd[1255]: command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5

when executing hte command pvesm status I am getting

Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
Name Type Status Total Used Available %
Lun-main lvm inactive 0 0 0 0.00%
Nas-vms iscsi active 0 0 0 0.00%
VMS0-PVEBK pbs active 13807418496 6518131328 7289287168 47.21%
local dir active 98497780 7701436 85746796 7.82%
local-lvm lvmthin active 5697167360 303089303 5394078056 5.32%
vms-share nfs active 11620267520 5307893632 6195231104 45.68%


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!