Proxmox VE 9.2 VM Migration: CPU, Storage, Network
Proxmox VE 9.2 VM migration checklist: verify CPU flags, guest agent, storage, bridges, and VLANs before moving a running guest safely to avoid downtime.

On this page
Before migrating a VM on Proxmox VE 9.2, the goal is simple: prove that the target node can run the same guest without losing I/O, networking, or graceful shutdown. This checklist checks CPU flags, QEMU guest agent state, storage visibility, and bridge/VLAN config so migration stops as a planned action, not an outage.
Key Takeaways
- CPU first: A VM using a host CPU model can fail to migrate if the target node lacks CPU features the source node has.
- Agent ready: The QEMU guest agent is not strictly required for raw live migration, but missing agents break graceful shutdown, backup behavior, and IP reporting.
- Storage parity: The target node must see the same storage, or the VM disk must already be on storage both nodes can use.
- Network parity: The target node must have the same bridge name and VLAN trunking or the guest will lose connectivity after migration.
- Timeout matters: Live migration can take longer than expected on write-heavy guests, so a conservative timeout prevents a half-finished migration.
What Is Actually Being Migrated?
A VM migration is not just a file copy. For a running VM, Proxmox moves memory pages, device state, and network attachment while the guest continues running. For a stopped VM, it moves or reattaches the disk and starts the guest on the target node.
That distinction matters. If the disk lives on shared storage, the migration mostly moves the running state. If the disk lives on node-local storage, the migration may need a disk move, and that changes the timing, risk, and failure modes completely.
The pre-flight checks below are meant to answer one question: can the target node run this exact VM right now? If the answer is no, find out before the migration begins.
How Do You Check CPU Flags Before Migration?
Compare Host Capability Sets
The most common CPU-related migration failure happens when a VM is configured to use the host CPU model. That gives the guest the best performance, but it also makes the guest depend on the source node’s CPU capabilities.
Run the following on the source node:
grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | sort > /tmp/cpu-flags-$(hostname).txt
Run the same command on the target node, then compare the two files:
diff /tmp/cpu-flags-node1.txt /tmp/cpu-flags-node2.txt
If the comparison is empty, the nodes expose the same CPU flags. If the target node has extra flags, that is usually fine. If the source node has flags the target node lacks, a VM configured for a host CPU model may fail to migrate or may fail to start on the target.
You can also compare basic CPU metadata:
lscpu | grep -E '^(Model name|Flags|Microcode):'
This is useful when two CPUs are nominally from the same family but differ in microcode or feature availability. A missing flag such as AVX512F can be enough to break a live migration that looked harmless in the GUI.
Check the VM CPU Model
The host CPU flags only matter if the VM is exposed to them. Check the VM configuration:
qm config 101 | grep -E '^(cpu|ostype|agent|net0|scsi0|virtio0|memory|cores|sockets):'
A typical output looks like this:
cpu: host
ostype: l26
agent: enabled=1,wait-for-boot=1
net0: virtio=BC:24:11:11:22:33,bridge=vmbr0,firewall=1
scsi0: local-lvm:vm-101-disk-0,size=20G
memory: 8192
cores: 4
sockets: 1
If the CPU setting is a host model and the target node is older or from a different microarchitecture, change the VM to a generic CPU model before migration:
qm set 101 --cpu kvm64
Restart the guest after changing the CPU model. The generic model trades some CPU performance for compatibility, but for many homelab and business VMs the difference is not noticeable. If you want a deeper look at this before a broader upgrade, the Proxmox VE 9.2 CPU Flags: Check VMs Before Upgrade guide covers the same problem from the upgrade angle.
Is the QEMU Guest Agent Ready?
Ping and Status
The QEMU guest agent does not make migration magically faster, but it makes the environment predictable. Check whether the agent is alive:
qm agent 101 ping
qm agent 101 get-status
A healthy response may look similar to this:
{
"enabled": true,
"running": true
}
If the agent is not running, the migration may still work, but you lose useful safety behavior. Backups may take longer or fall back to less consistent methods. Shutdowns may wait for a timeout. The Proxmox UI may not show the guest’s IP address, which makes post-migration verification slower.
Fix the Agent Before You Need It
On a Linux guest, install and enable the agent inside the guest:
apt update && apt install -y qemu-guest-agent
systemctl enable --now qemu-guest-agent
Then enable it in the VM configuration:
qm set 101 --agent enabled=1
If the guest was previously running without the agent, restart the guest or at least restart the guest service. Do not wait until a migration window to discover that the agent was never installed.
How Do You Verify Storage Paths and Disk Placement?
Confirm Shared or Target-Local Storage
A VM migration can fail for a boring reason: the target node does not see the storage the VM expects. Check storage visibility from the target node:
pvesh get /nodes/$(hostname)/storage
Look for the storage used by the VM. It should be active and available. If a storage entry is missing, disabled, or unhealthy on the target node, fix that before migrating.
You can also inspect the cluster storage configuration:
grep -E '^(dir|lvmthin|zfs|nfs|ceph|iscsi|pbs):' /etc/pve/storage.cfg
A common storage file excerpt looks like this:
dir: local
path /var/lib/vz
content iso,vztmpl,backup
lvmthin: local-lvm
vgname pve
thinpool data
content images,rootdir
zfs: local-zfs
pool rpool
content images,rootdir
The storage definition may exist cluster-wide, but that does not mean every node can use it. A local ZFS pool, local LVM thin pool, or locally attached iSCSI target may be visible in the configuration but unavailable on another node. If you want a focused reference for this file, see the cluster storage file article.
Confirm the VM Disk Is Where You Think It Is
Check the VM’s disks:
qm config 101 | grep -E '^(scsi0|virtio0|sata0|ide0|efidisk0|cloudinit):'
If the disk is on a shared pool such as Ceph, NFS, iSCSI, or a shared LVM volume group, live migration is usually straightforward. If the disk is on a node-local pool such as a default local LVM thin pool, the target node must have the same storage and enough free space, or the migration needs a disk move.
This is where many people get caught. The GUI may show the VM as migratable, but the migration fails because the disk is not actually on storage the target node can access. Shared storage is not optional unless you are explicitly moving the disk.
What Network Checks Prevent a Post-Migration Surprise?
Bridge and VLAN Presence
The VM network interface must attach to a bridge that exists on the target node. Check the bridge on each node:
ip -br link show dev vmbr0
ip -br addr show dev vmbr0
bridge vlan show dev vmbr0
Typical VLAN output looks like this:
port vlan ids
vmbr0 1 P U E
eno1 1 P U E
If the VM uses a bridge named vmbr1, the target node must have vmbr1. If the VM uses a VLAN trunk, the target node must carry the same VLAN range on the physical uplink. A bridge that exists but does not carry the required VLANs is still a migration failure waiting to happen.
A simple network configuration excerpt looks like this:
auto vmbr0
iface vmbr0 inet static
address 192.168.10.10/24
gateway 192.168.10.1
bridge-ports eno1
bridge-stp off
bridge-fd 0
If your migration crosses VLAN trunks or SDN-managed bridges, the Proxmox VE 9.2 VLAN Audit Before Running PBS S3 Sync Jobs post covers the same bridge and trunk checks from a backup and automation angle.
Firewall and IP Behavior
If Proxmox firewalling is enabled, check that the bridge or VM rules are not unexpectedly blocking management traffic:
iptables -S | grep vmbr0
Firewall rules usually follow the VM configuration, but the target node still needs the bridge and underlying VLANs to exist. After migration, verify the guest is reachable before moving the next VM.
Should You Test the Migration Command First?
Ordered Pre-Flight Test
Do not start with the most important VM. Pick a non-critical Linux VM, confirm its state, and run a conservative migration.
- Confirm the VM is running and the guest agent responds:
qm status 101
qm agent 101 ping
- Run the migration with a timeout:
qm migrate 101 node2 --online --timeout 600
- Confirm the VM state after migration:
qm status 101
qm agent 101 ping
A 12 GB Linux VM with a 20 GB disk took about 42 seconds to move over a 10GbE link in one recent test after the guest was idle. A write-heavy VM can take much longer because live migration has to copy dirty memory pages while the guest is still changing them.
If the migration aborts because of timeout, do not immediately retry with the same short value. Check guest write activity, storage latency, and network throughput first. If you are preparing for a node upgrade, the Proxmox VE 9.2 Live Migration Drill After Upgrading article is a good companion drill.
Common Gotchas and Tradeoffs
| Check | Pass condition | Common failure |
|---|---|---|
| CPU flags | Target node has every flag the source node has, or the VM uses a generic CPU model | A host CPU model VM fails on an older node |
| Guest agent | Ping and status checks return a running agent | Shutdown, backup, and IP reporting behave unpredictably |
| Storage | Target node sees the same storage and has enough free space | Local storage is missing on the target node |
| Network | Target node has the same bridge and VLAN trunking | VM migrates successfully but loses connectivity |
| Timeout | Timeout is longer than the expected dirty-page convergence time | Migration aborts mid-transfer under write load |
One experience-based gotcha: I once migrated a VM with a host CPU model from an older node to a newer node without trouble, then cloned a template to the older node and the clone failed. The live VM was fine because it had already been running, but the template carried CPU assumptions the older node could not satisfy. Migration checks the current guest; they do not fully protect future clones.
The honest tradeoff is that live migration is not always the best tool. It avoids downtime, but CPU overhead and dirty-page tracking can slow a write-heavy guest. For a database that is already under load, a 30-second planned shutdown may be faster, calmer, and easier to explain than a live migration that drags on for several minutes.
Conclusion
A successful Proxmox VE 9.2 VM migration comes down to proving CPU compatibility, guest agent readiness, storage visibility, and network parity before you click Migrate. Run the checks on one low-risk VM first, then migrate one VM at a time while watching timeout and write behavior. Your next step is to pick a non-critical VM and run the full checklist before scheduling any production migration.


