[SOLVED] Migrate VM to a node with alternative LVM-thin

Mar 22, 2021
18
0
6
34
Hallo,
I have a cluster of 2 nodes.
On one of the nodes I have 2 disk arrays.
The default one, where the installation of proxmox is, is the lvm-local and the 2nd one is called ssd-local.
Now when I migrate a VM from node1 to node2, I don't see a choice of disks but only of nodes , so the VM gets moved to the local-lvm but I would prefer to move it to ssd-local directly.

How can I do that ?
 
Last edited:
You can do so via the commandline. On the source node, use the following command (see also man qm):

Bash:
qm migrate <vmid> <node2> --online --with-local-disks --targetstorage ssd-local
 
  • Like
Reactions: sys7em