So I was chatting with one of our kernel engineers and apparently ZFS broke their send/receive kernel/userspace API at some point.
What version of the zfs module are you running?
Apparently there’s a problem when using the version of the tools we include (0.6.x) combined with a 0.7.x version of the kernel module. Unfortunately, bumping the version of the tools apparently will break when running on an older kernel… if that’s the case, we’re kinda stuck until the tools are corrected to work with both 0.6 and 0.7 kernel, then we can just bundle the 0.7 version of the tools.
root@bramdc-src-01:/home/jon# apt install zfs-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.13.0-17 linux-headers-4.13.0-17-generic linux-headers-4.13.0-21 linux-headers-4.13.0-21-generic linux-headers-4.13.0-25 linux-headers-4.13.0-25-generic linux-image-4.13.0-17-generic linux-image-4.13.0-21-generic
linux-image-4.13.0-25-generic linux-image-extra-4.13.0-17-generic linux-image-extra-4.13.0-21-generic linux-image-extra-4.13.0-25-generic xdelta3
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
dkms spl spl-dkms
Suggested packages:
menu
The following NEW packages will be installed:
dkms spl spl-dkms zfs-dkms
0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,554 kB of archives.
After this operation, 11.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
Ah, so I guess the proxmox kernel comes with the zfs module then, interesting, so not quite a standard Debian then. Hopefully the error isn’t kernel related or that’ll make things a bit harder for us to reproduce.
Oh, the forum didn’t post my previous comment. One of our kernel engineers said that there’s some known compatibility issue with the zfs 0.7.x kernel module when combined with the 0.6.x utils we ship in the snap.
That’s due to an unstable kernel/userspace API in zfsonlinux which is a bit annoying and is known to break send/receive. I’m hoping that it’s just a one way incompatibility and that we can use the newer tools everywhere.