PVE Unable to access vm disks after restart

Froto

Active Member
Sep 27, 2018
4
1
43
29
Hi,
So after restarting my PVE Box I notice that all my VMs and CTs on my LVM-Thin Storage cannot start.
I believe it may be because the storage device is not present. I say this because when I tried to backup my VM/CTs, It gave me this error.
Code:
INFO: creating archive '/mnt/pve/backups/dump/vzdump-lxc-230-2018_09_30-16_29_12.tar'
umount: /mnt/vzsnap0/: not mounted
command 'umount -l -d /mnt/vzsnap0/' failed: exit code 32
ERROR: Backup of VM 230 failed - failed to get device path
The storage is setup as LVM-Thin and this is lvs output
Code:
root@treckoex:/dev# lvs
  LV                       VG      Attr       LSize   Pool  Origin        Data%  Meta%  Move Log Cpy%Sync Convert
  data                     pve     twi-a-tz--  64.74g                     0.00   0.03
  root                     pve     -wi-ao----  29.50g
  swap                     pve     -wi-ao----   8.00g
  snap_vm-230-disk-1_nginx samsevo Vri---tz-k  12.00g spool vm-230-disk-1
  spool                    samsevo twi---tz-- 400.00g
  vm-110-disk-1            samsevo Vwi---tz--   8.00g spool
  vm-120-disk-1            samsevo Vwi---tz--  32.00g spool
  vm-140-disk-1            samsevo Vwi---tz--   8.00g spool
  vm-150-disk-1            samsevo Vwi---tz--  32.00g spool
  vm-220-disk-2            samsevo Vwi---tz--  20.00g spool
  vm-230-disk-1            samsevo Vwi---tz--  12.00g spool
  vm-270-disk-1            samsevo Vwi---tz--  12.00g spool
I'm new to PVE and always eager to learn. Any feedback would be very much appreciated

Thanks,
 
Solved(partially):
Turns out - I don't know the reason why - the lv partition was inactive
Code:
lvm> lvscan
  inactive          '/dev/samsevo/spool' [400.00 GiB] inherit
  inactive          '/dev/samsevo/vm-220-disk-2' [20.00 GiB] inherit
  inactive          '/dev/samsevo/vm-110-disk-1' [8.00 GiB] inherit
  inactive          '/dev/samsevo/vm-230-disk-1' [12.00 GiB] inherit
  inactive          '/dev/samsevo/vm-270-disk-1' [12.00 GiB] inherit
  inactive          '/dev/samsevo/vm-120-disk-1' [32.00 GiB] inherit
  inactive          '/dev/samsevo/snap_vm-230-disk-1_nginx' [12.00 GiB] inherit
  inactive          '/dev/samsevo/vm-140-disk-1' [8.00 GiB] inherit
  inactive          '/dev/samsevo/vm-150-disk-1' [32.00 GiB] inherit
  ACTIVE            '/dev/pve/swap' [8.00 GiB] inherit
  ACTIVE            '/dev/pve/root' [29.50 GiB] inherit
  ACTIVE            '/dev/pve/data' [64.74 GiB] inherit