Snapshot creation issue

hspindel

Member
Aug 6, 2025
45
6
8
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.
 
Last edited:
If, despite trying to restart your VM, the qemu process is still stuck, identify the process:
Bash:
ps aux | grep qemu-kvm | grep -w 150
Terminate it:
Code:
kill xxxxx
If it is still stuck, force termination:
Bash:
kill -9 xxxxx
Check for the dataset:
Bash:
zfs list | grep vm-150-state-Update4
Delete the problematic dataset:
Bash:
zfs destroy vm-storage/vm-150-state-Update4
Check the configuration file /etc/pve/local/qemu-server/150.conf:
Bash:
nano /etc/pve/local/qemu-server/150.conf
Delete the last block […]
Try running the snapshot again.