K
K
Konstantin Frolov2021-07-31 03:34:20
Proxmox
Konstantin Frolov, 2021-07-31 03:34:20

Why is the virtual machine not shutting down?

There is a machine with proxmox.
I created a vm, I run it, the windows installer starts loading.
Then I remember one moment and I want to turn off the car to fix it and start it again.
The VM does not respond to either the qm stop 100 command or the command from the web interface.
The installer just hangs and that's it.
The qm reset command does not help, dv is reset and immediately starts, I do not have time to stop it.
Restarting the host also does not always work right away, the system hangs and "waits", which is not clear.

Is there a way to hard stop vm?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
meDveD_spb, 2021-07-31
@meDveD_spb

It is the stop command that stops the VM, shutdown will work when qemu guest tools are installed.
if the shutdown command was pressed or sent first, it must be cancelled.

O
Oleg Volkov, 2021-08-01
@voleg4u

Usually the problem of killing is related to saving work. Check disks. Where does it store, how does it store, is it possible.

K
KPOBABAK, 2022-02-06
@KPOBABAK

There is a lock file there. if it is removed. then the machine will turn off normally.
lie here /var/lock/qemu-server
The path to the lock file usually shows if one of the commands is executed from the console.
qm shutdown
qm stop

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question