I want to thank the Proxmox team for yet another amazing update with v5. This post is just for information for anyone out there running a ZFS cluster with no shared storage. It is possible to live migrate QEMU VMs but you cannot use the GUI (yet). If you attempt to migrate a running VM using ZFS local storage to another node running ZFS local storage you will be presented with this error:
2017-07-28 12:42:51 can't migrate local disk 'local-zfs:vm-100-disk-1': can't live migrate attached local disks without with-local-disks option
The fix is to simply use the shell to begin the migration like this:
qm migrate 100 otherhostname --online --with-local-disks
Note: you cannot already have a replication copy of the data on the destination node. If you already have a replication it might be faster to shutdown and do the offline migration. If you still want to do a live migration, remove the replication, wait until it has been deleted from the destination node, then run the qm migrate from the shell.
Anecdotally my initial testing on my homelab shows performance of ~240MB/s for replication over 10GbE, but online migration only ~50MB/s over the same lines. YMMV.
2017-07-28 12:42:51 can't migrate local disk 'local-zfs:vm-100-disk-1': can't live migrate attached local disks without with-local-disks option
The fix is to simply use the shell to begin the migration like this:
qm migrate 100 otherhostname --online --with-local-disks
Note: you cannot already have a replication copy of the data on the destination node. If you already have a replication it might be faster to shutdown and do the offline migration. If you still want to do a live migration, remove the replication, wait until it has been deleted from the destination node, then run the qm migrate from the shell.
Anecdotally my initial testing on my homelab shows performance of ~240MB/s for replication over 10GbE, but online migration only ~50MB/s over the same lines. YMMV.