Usually, all the lvm snapshots for a VM are removed on VM deletion. But, during some benchmarks, I needed to create more than 100 snapshots for a VM. This time, all the snapshots remained intact, despite deletion of the VM ( this is valid for several VMs).
Thanks!
Code:
root@melania:/etc/pve/qemu-server# lvdisplay | grep Path | grep snap | wc -l
175
Code:
lvmthin: local-lvm
thinpool vmstore
vgname vmdata
content rootdir,images
Code:
root@melania:/etc/pve/qemu-server# pveversion
pve-manager/6.2-12/b287dd27 (running kernel: 5.4.65-1-pve)
root@melania:/etc/pve/qemu-server# dpkg -l | grep lvm
ii libllvm7:amd64 1:7.0.1-8+deb10u2 amd64 Modular compiler and toolchain technologies, runtime library
ii liblvm2cmd2.03:amd64 2.03.02-pve4 amd64 LVM2 command library
ii lvm2 2.03.02-pve4 amd64 Linux Logical Volume Manager
Thanks!