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

kroem

Renowned Member
Jul 12, 2016
45
0
71
40
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.

:|