snippetbashTip
qm migrate — Migrate a virtual machine. Used to create a new migration task. More information: <https://pve.proxm
Viewed 0 times
virtualcreatecommandusedclimachinemigrateqm migrate
linux
Problem
How to use the
qm migrate command: Migrate a virtual machine. Used to create a new migration task. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_migrate>.Solution
qm migrate — Migrate a virtual machine. Used to create a new migration task. More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_migrate>.Migrate a specific virtual machine:
qm {{[mi|migrate]}} {{vm_id}} {{target}}Override the current I/O bandwidth limit with 10 KiB/s:
qm {{[mi|migrate]}} {{vm_id}} {{target}} --bwlimit 10Allow migration of virtual machines using local devices (root only):
qm {{[mi|migrate]}} {{vm_id}} {{target}} --force trueUse online/live migration if a virtual machine is running:
qm {{[mi|migrate]}} {{vm_id}} {{target}} --online trueEnable live storage migration for local disks:
qm {{[mi|migrate]}} {{vm_id}} {{target}} --with-local-disks trueCode Snippets
Migrate a specific virtual machine
qm {{[mi|migrate]}} {{vm_id}} {{target}}Override the current I/O bandwidth limit with 10 KiB/s
qm {{[mi|migrate]}} {{vm_id}} {{target}} --bwlimit 10Allow migration of virtual machines using local devices (root only)
qm {{[mi|migrate]}} {{vm_id}} {{target}} --force trueUse online/live migration if a virtual machine is running
qm {{[mi|migrate]}} {{vm_id}} {{target}} --online trueEnable live storage migration for local disks
qm {{[mi|migrate]}} {{vm_id}} {{target}} --with-local-disks trueContext
tldr-pages: linux/qm migrate
Revisions (0)
No revisions yet.