Very interesting, i am playing around with zfs sync as well. I made a shell script which does the following:
It is constantly watching the "etc/pve/qemu-server" directory for new files.
When a new VM is created, a configuration file(100.conf) will be created in this map.
The script detects this, and uses the name to do the following:
Create a sync job(ve-zsync sync --source $name --dest 192.168.x.x:x/x --verbose --maxsnap 2 --name $name)
Create a recurring sync job(pve-zsync create --$name --dest 92.168.x.x:x/x --verbose --maxsnap 2 --name $name --limit 512 --skip). Each minute it creates a incremental snapshot.
What i understand of your story is that you use a shared storage solution(NFS). I don't want to use shared storage in my case, simply because it is to slow! The script just creates a initial sync job(so the complete VM will be will be copied) and after that it is constantly sending snapshots(incremental) via a Cronjob/tab to the failover server.
All i want is: When a VM on the main server fails, than the failover server must automatically start up the VM on the failover server(with recent snapshots, max 1 minute)
My main concern is that I want to be able to make the backup copy live in the ZFS storage of the remote server
You can do this with the recurring sync job?
zfs send|zfs recv on the new node is not necessary
What are zfs send and recv for?
Maybe we can share contact information and fight this storage battle together
Best regards,
Rens