HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

qm suspend — Suspend a virtual machine (VM) in the Proxmox Virtual Environment (PVE). Use `--skiplock` and `--ski

Submitted by: @import:tldr-pages··
0
Viewed 0 times
virtualtheproxmoxcommandclisuspendmachineqm suspend
linux

Problem

How to use the qm suspend command: Suspend a virtual machine (VM) in the Proxmox Virtual Environment (PVE). Use --skiplock and --skiplockstorage flags with caution, as they may lead to data corruption in certain situations. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_suspend>.

Solution

qm suspend — Suspend a virtual machine (VM) in the Proxmox Virtual Environment (PVE). Use --skiplock and --skiplockstorage flags with caution, as they may lead to data corruption in certain situations. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_suspend>.

Suspend a virtual machine by ID:
qm {{[su|suspend]}} {{vm_id}} {{integer}}


Skip the lock check when suspending the VM:
qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplock


Skip the lock check for storage when suspending the VM:
qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplockstorage

Code Snippets

Suspend a virtual machine by ID

qm {{[su|suspend]}} {{vm_id}} {{integer}}

Skip the lock check when suspending the VM

qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplock

Skip the lock check for storage when suspending the VM

qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplockstorage

Context

tldr-pages: linux/qm suspend

Revisions (0)

No revisions yet.