Can't shutdown / VM Locking problem

MisterY

Well-Known Member
Oct 10, 2016
136
4
58
37
Hi,
My Proxmox-Server won't shutdown out of the sudden, because either some ct or vm won't shutdown.
When I delete the files within /var/lock/qemu-server or restart the qemu-server, then I can shutdown. But after a new boot I have the same problem. What can I do?
The only thing changed was the 2-Port SATA PCI-E Card was replaced by a 4-Port. But even after going back the same problem is there.
 
Try running

Code:
pvesh create /nodes/localhost/stopall

before you shut down. This should stop all VMs and CTs.
 
I would suggest debugging why stopping fails.
Check where does the lock come from.
Obviously something is locking and then not releasing lock.
Maybe failed backups?

You can also unlock them with pct unlock and qm unlock manually.
 

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!