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
 

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!