I occasionally have an issue with creating a snapshot. Most recently, this was the error:
snapshot create failed: starting cleanup
zfs error: cannot destroy 'vm-storage/vm-150-state-Update4': dataset is busy
TASK ERROR: unable to save VM state and RAM - qemu_savevm_state_complete_precopy error -5
All subsequent attempts at creating the snapshot error out with "qmp command 'savevm-start' failed - VM snapshot already started".
I can fix this issue by rebooting proxmox. But is there a cleaner/easier way to recover? I don't see a cancel snapshot option in the GUI. Is there a command line to do this?
Note that the stuck snapshot does not appear in the GUI, so I can't delete it. grep "vm-vmnum" /proc/*/mounts returns nothing.
Snapshots of other VMs still work okay.
vn unlock vmid doesn't help.
snapshot create failed: starting cleanup
zfs error: cannot destroy 'vm-storage/vm-150-state-Update4': dataset is busy
TASK ERROR: unable to save VM state and RAM - qemu_savevm_state_complete_precopy error -5
All subsequent attempts at creating the snapshot error out with "qmp command 'savevm-start' failed - VM snapshot already started".
I can fix this issue by rebooting proxmox. But is there a cleaner/easier way to recover? I don't see a cancel snapshot option in the GUI. Is there a command line to do this?
Note that the stuck snapshot does not appear in the GUI, so I can't delete it. grep "vm-vmnum" /proc/*/mounts returns nothing.
Snapshots of other VMs still work okay.
vn unlock vmid doesn't help.
Last edited: