[SOLVED] Is there a way to determine if a VM is currently locked?

Ivan Gersi

Renowned Member
May 29, 2016
83
7
73
54
I had a several VM locked today but onl one has running backup process. Is there any way to see all locked machine in cluster/node?
 
In Proxmox VE 6 you'll see all locks in the webinterface resource tree, and the cluster resource API call.

For older PVE versions, either:
* upgrade ;)
* check the config files find /etc/pve -type f -name '*.conf' -exec grep -H 'lock:' {} \;
 
In Proxmox VE 6 you'll see all locks in the webinterface resource tree, and the cluster resource API call.
You`re right, I have 5 nodes cluster and I was login in via v5 node (not v6). Api from v6 show me all locked machine.
 
You`re right, I have 5 nodes cluster and I was login in via v5 node (not v6). Api from v6 show me all locked machine.

I hope you're only have a "mixed version" cluster due to being in the process to upgrade the remaining ones, as it's not recommended to run different major versions alongside in the same cluster for an extended period of time, just FYI :)
 

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!