vm migration hang

Robstarusa

Active Member
Feb 19, 2009
74
3
28
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 ?
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
17,108
507
133
Austria
www.proxmox.com
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.
 

Robstarusa

Active Member
Feb 19, 2009
74
3
28
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 your own in 60 seconds.

Buy now!