PVE有时候会因为各种问题,从web管理页面点击关机时会卡死,这时候再点击停止是没有作用的,可以用一下方法来结局
直接进入shell:
ls -l /run/lock/qemu-server
# 例如要关闭的虚拟机id是101
rm -f /run/lock/qemu-server/lock-101.conf
qm unlock 101
qm stop 101
qm status 101
PVE有时候会因为各种问题,从web管理页面点击关机时会卡死,这时候再点击停止是没有作用的,可以用一下方法来结局
直接进入shell:
ls -l /run/lock/qemu-server
# 例如要关闭的虚拟机id是101
rm -f /run/lock/qemu-server/lock-101.conf
qm unlock 101
qm stop 101
qm status 101