Migrating a VM using 2 disks to different storages

bly

Member
Mar 15, 2024
48
9
8
Hi,
do I can migrate a VM with 2 disks in same storage to another node but each disk to a different storage destination?
I need do that because disk space on the destination machine is not sufficient to hold all in one storage target.
 
Probably not in the one step, depends on the src/dest storages. Maybe you can try backup method.
 
  • Like
Reactions: bly
Did you mean migrate as a manual scheduled operation? If yes, then you can "move disk" via GUI (VM>hardware>disk actions) or CLI to a particular storage.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Unfortunately, migration has to be done to another node but yes, I did moved disks in the end. What I did, in the end:
  1. made a dedicated ceph pool with enough storage
  2. migrate to the destination node with target the ceph pool
  3. after migration, moved the two disks to their assigned storages on the destination node
I think that being able to assign each disk to a given destination storage in the live migration process will be a great feature to have :)
 
> I think that being able to assign each disk to a given destination storage in the live migration process will be a great feature to have :)

This would also be great when restoring a VM/LXC
 
  • Like
Reactions: Johannes S