Cannot remove VM ( VM is locked (snapshot-delete) )

kroem

Well-Known Member
Jul 12, 2016
45
0
46
38
I'm trying to remove an old VM but the web gui is refusing to, gicing me ERROR: VM is locked (snapshot-delete). The reason being, probably, because I did some recent changes to my zfs snaps and (accidentally) removed a Proxmox snap (called innan-deb8). Is there a way to manually remove that snap from the VM's config?

root@cat:~# qm listsnapshot 103
innan_deb8 no-parent no-description
current innan_deb8 no-description
root@cat:~# qm delsnapshot 103 innan_deb8
VM is locked (snapshot-delete)
 
Hi,

use this command to unlock

Code:
qm unlock 103

more information see
Code:
man qm
 
Hi,

use this command to unlock

Code:
qm unlock 103

more information see
Code:
man qm
Code:
root@cat:~# qm unlock 103
root@cat:~# qm listsnapshot 103        
innan_deb8           no-parent            no-description
current              innan_deb8           no-description
root@cat:~# qm delsnapshot 103 innan_deb8
zfs error: could not find any snapshots to destroy; check snapshot names.

:|
 

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!