[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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!