Move VM with ZFS disk to another Proxmox Server

taich

Active Member
Aug 15, 2020
117
19
38
65
How can I move a VM from a ZFS disk to another Proxmox server?

Is it possible to copy the disk-file and the <VMID>.conf file to the other server?
 
Are they in a cluster? If so, you can simply migrate them.
If they are not in the same cluster, it is recommended to create a backup, copy it to the other server and restore it there.
 
The simplest way using PVE tools would be to create a backup and restore that on the target server.

If you want to go down a more manual road, there are plenty of approaches that can work:
  • zfs send & recv
  • create the target VM, boot both (source & target) with
    • Clonezilla or something similar
    • a Linux live ISO and use dd if=/dev/sdX | ssh ... and pipe it via SSH to the target where dd will receive the data and write it out to the disk
  • ...
 
Afaik ZFS does not have VD's as a regular "files" to copy.
How about just simple backup/restore?
Using that your backgroud filesystem doesn't matter. You can backup/restore to different storage easily and restore process will match output VD's format accordingly.
 
Afaik ZFS does not have VD's as a regular "files" to copy.
How about just simple backup/restore?
Using that your backgroud filesystem doesn't matter. You can backup/restore to different storage easily and restore process will match output VD's format accordingly.

The VM I am talking about has 8 TB of data. Backup/Restore would take about 50 hours.
But thanks for your help.
 
"Managed" this to apply Gluster on it to give me the HA option, but please be aware that speeds will go down quite a bit.