LinuxCommandLibrary

qm-shutdown

Gracefully shutdown a Proxmox VM

TLDR

Shutdown a VM

$ qm shutdown vm_id
copy
Shutdown with timeout
$ qm shutdown --timeout 10 vm_id
copy
Keep storage active
$ qm shutdown --keepActive true vm_id
copy
Skip lock check
$ qm shutdown --skiplock true vm_id
copy
Force stop after shutdown
$ qm shutdown --forceStop true vm_id
copy

SYNOPSIS

qm shutdown [OPTIONS] vmid

DESCRIPTION

qm shutdown sends an ACPI shutdown signal to gracefully shut down a QEMU/KVM virtual machine in Proxmox VE. The guest operating system must respond to ACPI events for this to work properly.

PARAMETERS

vmid

The numeric ID of the virtual machine
--timeout seconds
Maximum time to wait for the VM to shut down
--keepActive boolean
Do not deactivate storage volumes after shutdown
--skiplock boolean
Skip lock check (root only)
--forceStop boolean
Force stop the VM if it doesn't respond to shutdown

CAVEATS

The guest OS must have ACPI support enabled and respond to shutdown events. If the guest ignores the ACPI signal, use --forceStop or qm stop instead. Windows guests may require proper ACPI drivers.

HISTORY

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

SEE ALSO

qm(1), qm-start(1), qm-stop(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community