Files
cheatsheet-tldr/tldr/linux/qm-suspend
2025-12-30 00:21:56 +00:00

23 lines
690 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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`