Use it when the symptom is “VM Will Not Start”: work through the layers in order and stop at the first one that fails.
VM Will Not Start
Separate the start request from admission and runtime creation: requested power-on → configuration validation → host eligibility/capacity → storage/network/device dependencies → VM process/runtime creation → Running state.
1. Common causes: missing disk/ISO, storage offline, not enough memory, locked config, passthrough device missing.
2. Read the error.
3. Check storage and resources.
4. Check locks (qm unlock).
5. Check host compatibility.
start → config → resources → storage → process
Context & applicabilityCommon mistakes · platform/version boundaries
A VM that cannot enter Running has failed before guest boot; do not troubleshoot the guest OS until runtime creation and required backing resources are confirmed.
Operational reference
Fast context before you go deeper.
qm status <vmid> --verbosePrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Power-on request → config validation → host/cluster admission → backing resources/devices → VM runtime creation → Running → guest boot → workload
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Power-on task accepted ≠ VM started; asynchronous start can fail after the request is accepted.
- Free host resources ≠ allocatable resources when reservations, limits, NUMA, HA placement or device constraints apply.
- VM configuration valid syntactically ≠ every referenced disk, network or passthrough device is available.
- VM starts after a broad change ≠ original cause proven unless the failed boundary and changed condition correlate.
qm start <vmid>— read the errorvirsh start <vm>; tail /var/log/libvirt/qemu/<vm>.log— QEMU logStart-VM <vm>; Get-WinEvent -LogName Microsoft-Windows-Hyper-V-Worker-Admin -MaxEvents 20— Hyper-V
ReferenceWhy it matters1 section · depth on demand
Method
VM will not start (power on fails):
| Message / symptom | Cause |
|---|---|
| Insufficient memory / resources | Host free memory, reservations, HA admission control |
| File locked / failed to lock | VM running elsewhere, stale lock, backup proxy holding disk |
| Disk not found | Datastore offline, moved/renamed disk, broken snapshot chain |
| Network/port group not found | Missing bridge/vSwitch name on this host |
| Device in use / not available | Passthrough device, USB, ISO on missing storage |
| Configuration version not supported | VM version newer than host |
qm start 120 2>&1; journalctl -u pvedaemon -n 30
grep -i error /vmfs/volumes/ds1/vm1/vmware.log | tail
Get-WinEvent -LogName Microsoft-Windows-Hyper-V-Worker-Admin -MaxEvents 10
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
A VM that cannot enter Running has failed before guest boot; do not troubleshoot the guest OS until runtime creation and required backing resources are confirmed.
In depth
Read the actual error
root@pve1:~# qm start 101
TASK ERROR: VM is locked (backup)
root@pve1:~# qm start 102
kvm: -device vfio-pci,host=0000:01:00.0: vfio 0000:01:00.0: failed to open /dev/vfio/14: Device or resource busy
The start task log (Web UI task viewer, or /var/log/pve/tasks/) and journalctl -u pvedaemon -u pveproxy --since -10min contain the QEMU error text. On plain libvirt hosts: virsh start output and /var/log/libvirt/qemu/<vm>.log.
Error → cause → action
| Error | Cause | Action |
|---|---|---|
VM is locked (backup/snapshot/migrate/clone) | Operation running or crashed | Confirm nothing runs, then qm unlock 101 (documented in qm) |
storage 'xyz' does not exist / volume ... does not exist | Storage offline or not available on this node | pvesm status; check the storage's node restriction |
Could not access KVM kernel module / /dev/kvm missing | Virtualisation disabled in firmware or nested VM | Enable VT-x/AMD-V; check lsmod \| grep kvm |
failed to open /dev/vfio/N: Device or resource busy | Passthrough device used by another VM or host driver | Stop the other VM; bind to vfio-pci |
cannot allocate memory / OOM | Host RAM or huge pages insufficient | Free memory, lower VM memory, check HugePages_Free |
timeout waiting on systemd | Host overloaded or storage hangs | Check host load and storage latency |
already running | Stale PID file after crash | Check qm status; kill only if no QEMU process exists |
When nothing is in the log
Start in the foreground to see QEMU directly: qm showcmd 101 --pretty prints the full QEMU command line; running it manually (lab only) reveals errors hidden by the task wrapper.
Prevent repeats
Stale locks usually follow a crashed backup or migration — fix the cause (backup target, network) instead of making qm unlock routine. For storage errors, make sure storage definitions in /etc/pve/storage.cfg restrict local storage to the nodes where it really exists.
*The VM startup lock and VFIO error messages above are illustrative examples, not captured from a lab or production host.*
Common causes
| Error | Cause |
|---|---|
| Insufficient memory/resources | Host full, reservations, admission control |
| File locked | Another host or backup holds the disk |
| Device not available | ISO path missing, passthrough device in use |
| Invalid configuration | Corrupt .vmx/.xml, missing disk |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Troubleshooting → VM Will Not Start. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Virtualization Troubleshooting → VM Will Not Start troubleshooting map
Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → VM Will Not Start.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Symptom/scope | Exact failing test, affected VM/host/cluster and incident time are defined | Symptom classification does not identify root cause |
| Observed boundary | Configuration, runtime and counters/logs for this Virtualization Troubleshooting → VM Will Not Start boundary are time-correlated | One healthy or failed status does not prove adjacent dependencies |
| Adjacent dependency | The next host, storage, network, device, guest or cluster dependency is tested independently | Local success does not prove end-to-end health |
| Verification | The original workload test succeeds after one controlled change and remains healthy in regression checks | Temporary recovery alone is not durable proof |