Cannot process volume group local-lvm3

TomNick

Member
Jul 16, 2021
31
2
13
62
Hi everybody, I am running 3 pve in a cluster. Pve3 needed a restart and after it, I am not able to start any VM anymore. Getting the following error:


Code:
Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
  Volume group "local-lvm3" not found
TASK ERROR: can't activate LV '/dev/local-lvm3/vm-106-disk-0':   Cannot process volume group local-lvm3

I tried to fix this by:


Code:
lvchange -an pve/data_tdata
lvchange -an pve/data_tmeta
lvchange -ay pve/data

without success. Anybody any idea what could be wrong? Thanks for some help.

Proxmox 7.3.6
Hardware specificaton for the VM enclosed
 

Attachments

  • Bildschirmfoto von 2023-07-18 11-23-29.png
    Bildschirmfoto von 2023-07-18 11-23-29.png
    44.5 KB · Views: 6
Hi,
please post the output of cat /etc/pve/storage.cfg and vgs.
 
Hi,
please post the output of cat /etc/pve/storage.cfg and vgs.
Code:
root@pve3:~# cat /etc/pve/storage.cfg
dir: local
        path /var/lib/vz
        content backup,images,vztmpl,iso
        shared 0

lvmthin: local-lvm
        thinpool data
        vgname pve
        content images,rootdir
        nodes pve1,pve3,pve4,pve2

lvm: local-lvm3
        vgname local-lvm3
        content rootdir,images
        nodes pve3
        shared 0

nfs: pve-shared
        export /mnt/disk3/pve-shared
        path /mnt/pve/pve-shared
        server 192.168.35.117
        content iso,vztmpl,images,rootdir
        prune-backups keep-all=1

nfs: pve-backup
        export /mnt/disk3/pve-backup
        path /mnt/pve/pve-backup
        server 192.168.35.117
        content backup
        prune-backups keep-all=1

lvm: data
        vgname data
        content images,rootdir
        nodes pve5
        shared 0

Code:
root@pve3:~# vgs
  VG  #PV #LV #SN Attr   VSize    VFree
  pve   1   5   0 wz--n- <931.01g 15.99g
 
Code:
root@pve3:~# cat /etc/pve/storage.cfg
lvm: local-lvm3
        vgname local-lvm3
        content rootdir,images
        nodes pve3
        shared 0
The configuration expects a volume group with name local-lvm3
Code:
root@pve3:~# vgs
  VG  #PV #LV #SN Attr   VSize    VFree
  pve   1   5   0 wz--n- <931.01g 15.99g
but doesn't seem like the volume group exists. On which physical device do you expect it to? Please check that one and the boot log for any errors.
 
  • Like
Reactions: TomNick
The configuration expects a volume group with name local-lvm3

but doesn't seem like the volume group exists. On which physical device do you expect it to? Please check that one and the boot log for any errors.
Well, that was easy....disk was broken....thanks for help
 
  • Like
Reactions: fiona

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!