LinuxCommandLibrary

qm-stop

Force stop a Proxmox virtual machine

TLDR

Stop VM immediately

$ qm stop vm_id
copy
Stop with timeout
$ qm stop --timeout 10 vm_id
copy
Skip lock (root only)
$ qm stop --skiplock true vm_id
copy
Keep storage volumes active
$ qm stop --keepActive true vm_id
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
--migratedfrom node
Used internally for migration cleanup

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.

HISTORY

qm stop is part of the Proxmox VE virtualization platform for managing QEMU/KVM virtual machines.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community