LVM not activated after Update 8.x -> 9.2

Dec 19, 2023
5
0
6
Hi all,
I just upgradet my proxmox ve server from 8.4.17 to the latest 9.2
(pve8to9 listed no warnings) and after the reboot the server was online without problem.

But some VMs on this machine not because one of the two vmgroups vanished:
Volume group "nas" not found
TASK ERROR: can't activate LV '/dev/nas/vm-187-disk-0': Cannot process volume group nas

I run a cluster with 9 nodes. The other nodes use the storage without any problems so i don't think, the reason lays in the storagesystem itself.

How can i get this volume back online?

this is my storage.cfg (relevant parts only):

Code:
iscsi: nas2
        portal 10.0.0.1
        target iqn.2004-04.com.qnap:ts-879u-rp:iscsi.nas2st1.d50f96
        content none

lvm: nas2storage
        vgname nas
        base nas2:0.0.0.scsi-36e843b6b48a4ef4d6396d4aeedba03df
        content rootdir,images
        saveremove 1
        shared 1

iscsi: nasasc2
        portal 10.0.0.2:3260
        target iqn.2004-04.com.qnap:ts-1263u:iscsi.target-0.3782ba
        content none

lvm: nasascstorage
        vgname nasasc2storage
        base nasasc2:0.0.0.scsi-36e843b6990abe2ad192fd49a4da4f8d3
        content rootdir,images
        saferemove 1
        shared 1

pvscan doesn't show the volume nas:
Code:
root@px1:~# pvscan
File descriptor 7 (pipe:[310251]) leaked on pvscan invocation. Parent PID 30369: /bin/bash
File descriptor 9 (pipe:[310252]) leaked on pvscan invocation. Parent PID 30369: /bin/bash
  PV /dev/nvme0n1p3   VG pve              lvm2 [<222.57 GiB / 15.99 GiB free]
  PV /dev/sdd         VG nasasc2storage   lvm2 [<10.00 TiB / <10.00 TiB free]
  Total: 2 [<10.22 TiB] / in use: 2 [<10.22 TiB] / in no VG: 0 [0   ]

and of course not vgs
Code:
root@px1:~# vgs
File descriptor 7 (pipe:[310251]) leaked on vgs invocation. Parent PID 30369: /bin/bash
File descriptor 9 (pipe:[310252]) leaked on vgs invocation. Parent PID 30369: /bin/bash
  VG             #PV #LV #SN Attr   VSize    VFree 
  nasasc2storage   1   0   0 wz--n-  <10.00t <10.00t
  pve              1   8   0 wz--n- <222.57g  15.99g

iscsiadm reportes both targets active:

Code:
iscsiadm -m session
tcp: [4] 10.0.0.2:3260,1 iqn.2004-04.com.qnap:ts-1263u:iscsi.target-0.3782ba (non-flash)
tcp: [5] 192.168.71.9:3260,1 iqn.2004-04.com.qnap:ts-879u-rp:iscsi.nas2st1.d50f96 (non-flash)
tcp: [6] 10.0.0.1:3260,1 iqn.2004-04.com.qnap:ts-879u-rp:iscsi.nas2st1.d50f96 (non-flash)

Btw: here is the pvscan from another node with active VG nas

Code:
root@px3:/etc/iscsi/send_targets# pvscan
File descriptor 9 (pipe:[1703811521]) leaked on pvscan invocation. Parent PID 1458954: bash
File descriptor 11 (pipe:[1703811522]) leaked on pvscan invocation. Parent PID 1458954: bash
  PV /dev/mapper/mpath0   VG hitvol1          lvm2 [<20.00 TiB / <3.70 TiB free]
  PV /dev/sdh             VG nasasc2storage   lvm2 [<10.00 TiB / <10.00 TiB free]
  PV /dev/sdf             VG nas              lvm2 [<8.00 TiB / <6.30 TiB free]
  PV /dev/sdb3            VG pve              lvm2 [892.13 GiB / 16.00 GiB free]
  PV /dev/sda1            VG LocalRaidPX3     lvm2 [2.45 TiB / 376.00 MiB free]
  Total: 5 [41.32 TiB] / in use: 5 [41.32 TiB] / in no VG: 0 [0   ]

Thanks for any ideas
Robert