LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

qm-stop

Force stop a Proxmox virtual machine

TLDR

Stop a VM immediately
$ qm stop [vm_id]
copy
Stop with a timeout (wait up to N seconds)
$ qm stop [vm_id] --timeout [30]
copy
Skip lock check (root only)
$ qm stop [vm_id] --skiplock true
copy
Keep storage volumes active after stopping
$ qm stop [vm_id] --keepActive true
copy
Override a pending shutdown and stop immediately
$ qm stop [vm_id] --overrule-shutdown true
copy

SYNOPSIS

qm stop [OPTIONS] vmid

DESCRIPTION

qm stop immediately stops a running QEMU/KVM virtual machine in Proxmox VE. This performs a hard shutdown, equivalent to pulling the power cord, which may result in data loss if the guest OS is not properly shut down first.

PARAMETERS

vmid

The numeric ID of the virtual machine.
--timeout seconds
Wait for the VM to stop for the specified number of seconds.
--skiplock boolean
Skip the lock check (only root can use this option).
--keepActive boolean
Do not deactivate storage volumes after stopping.
--overrule-shutdown boolean
Override a still-running shutdown task to force an immediate stop.

INSTALL

sudo dnf install qm
copy

CAVEATS

This is a forceful stop that does not cleanly shut down the guest operating system. Use qm shutdown for a graceful shutdown via ACPI. Data loss may occur if unsaved data exists in the guest.

SEE ALSO

qm(1), qm-start(1), qm-shutdown(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid