[SOLVED] VM snapshort Date/Status delete

nivek1612

New Member
Aug 25, 2024
12
0
1
I have a snapshot which I stopped from completing (cancelling via GUI). However, the snapshot is still visible with a status of delete
Attempt to remove it gives an error

lvremove snapshot 'pve/snap_vm-105-disk-1_gas' error: Failed to find logical volume "pve/snap_vm-105-disk-1_gas"

I then have to unlock the VM

How can I safely remove the snapshot
 
Check that in fact the snapshot LV isn't there with:
lvs -a | grep vm-105

Then remove the snapshot [gas] section from the etc/pve/qemu-server/105.conf file.
It should disappear from the GUI too.


Alternatively you could run:
pct delsnapshot 105 gas -force
This will remove the entry from the config - even if the snapshot does not exist.
 
Good, looks like you got it solved. Maybe mark this thread as solved. At the top of the thread, choose the Edit thread button, then from the (no prefix) dropdown choose Solved.