I have been attempting to do something here, I will explain what I am attempting and what I have done thus far which is not much since I cannot find the information online.
There is a feature that has not been added to Proxmox (according to others online), "-w" option for zvol transfers (send and recv zfs commands)
Full story:
I have some blades and wanted to create a high-availability system with (if)possible load balancing for a work cloud solution.I set my software up and that worked great.
When I try to replicate I receive:
2022-11-30 07:57:03 123-0: start replication job2022-11-30 07:57:03 123-0: guest => VM 123, running => 2041662022-11-30 07:57:03 123-0: volumes => local-zfs:vm-123-disk-02022-11-30 07:58:15 123-0: create snapshot '__replicate_123-0_1669823823__' on local-zfs:vm-123-disk-02022-11-30 07:58:15 123-0: using secure transmission, rate limit: none2022-11-30 07:58:15 123-0: full sync 'local-zfs:vm-123-disk-0' (__replicate_123-0_1669823823__)2022-11-30 07:58:30 123-0: cannot send rpool/data/vm-123-disk-0@__replicate_123-0_1669823823__: encrypted dataset rpool/data/vm-123-disk-0 may not be sent with properties without the raw flag2022-11-30 07:58:30 123-0: warning: cannot send 'rpool/data/vm-123-disk-0@__replicate_123-0_1669823823__': backup failed2022-11-30 07:58:30 123-0: command 'zfs send -Rpv -- rpool/data/vm-123-disk-0@__replicate_123-0_1669823823__' failed: exit code 12022-11-30 07:58:30 123-0: cannot receive: failed to read from stream2022-11-30 07:58:30 123-0: cannot open 'rpool/data/vm-123-disk-0': dataset does not exist2022-11-30 07:58:30 123-0: command 'zfs recv -F -- rpool/data/vm-123-disk-0' failed: exit code 12022-11-30 07:58:30 123-0: delete previous replication snapshot '__replicate_123-0_1669823823__' on local-zfs:vm-123-disk-02022-11-30 07:58:31 123-0: end replication job with error: command 'set -o pipefail && pvesm export local-zfs:vm-123-disk-0 zfs - -with-snapshots 1 -snapshot __replicate_123-0_1669823823__ | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=ProxmoxVEBlade1' root@192.168.1.175 -- pvesm import local-zfs:vm-123-disk-0 zfs - -with-snapshots 1 -snapshot __replicate_123-0_1669823823__ -allow-rename 0' failed: exit code
The simple solution to this is to add -w for raw transfer.
So my question is, to introduce functional replication in Proxmox VE, How would I add/modify options of the standard send recv futions of ZFS.Thank you for your time and answers. Please use simplest terms as I am very ignorant of this stuff. I was directed here by someone who probably could do this but is too busy to help. They told me this is likely the only place I would get a "real" answer. So far I have determined that the command is called by a Perl script. But where that script is, I am unsure.
Note: Non-Encrypted zvols are not an option. Unfortunately.