Proxmox Virtual Environment - PVE
PVE - VM does not stop
Introduction
Sometimes a virtual machine cannot be stopped from the GUI.
Resolution
qm stop <number>
Useful links
https://bobcares.com/blog/proxmox-cant-stop-vm/
PVE - No quorum error
Introduction
A typical error on a PVE cluster is
No Quorum error
It can happen, when other machines of the cluster stop functioning.
Resolution
pvecm expect 1
Useful links
PVE - Can't lock file
Can't lock file
manual SSH:
goto /run/lock/qemu-server
delete lock-xxx.conf
qm unlock xxx
Simple script:
#!/bin/sh
echo
echo '-----AUTHOR: https://dannyda.com-----'
echo
echo '---Existing locks---'
qm unlock $1
ls -l /run/lock/qemu-server
rm -f /run/lock/qemu-server/lock-$1.conf
qm unlock $1
echo
echo '---Remaining locks---'
ls -l /run/lock/qemu-server
./killvm.sh xxx