storage not visible when proxmox container VM is stopped

ash

New Member
Jun 5, 2020
11
0
1
35
Hi,

When I create a proxmox conatiner VM and if I stop the VM using pct stop vmid the LVM of the VM is not visible while using ls -lha /dev/vg.
Is there a way to retain the LVM even when the VM is stopped like in promox we have a option of --keepActive.
 
You'll have to activate the LV again.

With lvs you should be able to see it and with lvchange -a y <logical volume> you should be able to activate it.