vm migration hang

Robstarusa

Renowned Member
Feb 19, 2009
89
4
73
When testing iscsi, I tried to migrate a vm & it hung.

This is a test vm with nothing important (I shut it down & made a backup before restarting it & trying the migration).

How do I kill this?

If I tell it to cancel in the webgui nothing happens. Is there a CLI command I can use to kill this migration task ?
 
If I tell it to cancel in the webgui nothing happens. Is there a CLI command I can use to kill this migration task ?

normall 'qm stop <vmid>' helps.

If nothing helps, use 'qm list' to get a list of running VMs. This shows you the PID of the kvm processes, which you can try to kill directly.
 
Thanks.

qm list showed me the vm's.

qm stop 101 gave me:
"trying to acquire lock...got timeout"

I did get the pid though and a "kill -QUIT <pid>" fixed it.

Thanks,

Robert