Cannot receive snapshots on Ventura / 2.1.6

Hi,
Since upgrading to Ventura & installing OpenZFS 2.1.6 I have been unable to receive snapshots— certainly incremental streams, and I think complete snapshots as well. The error is "cannot receive incremental stream: invalid backup stream."
Here's a demo. Machine 1 is running MacOS 12.6.3 and OpenZFS 2.1.0. Machine 2 is running MacOS 13.4 and OpenZFS 2.1.6. You will see that the receive operation concludes successfully on Machine 1 but fails on Machine 2.
Thanks.
Since upgrading to Ventura & installing OpenZFS 2.1.6 I have been unable to receive snapshots— certainly incremental streams, and I think complete snapshots as well. The error is "cannot receive incremental stream: invalid backup stream."
Here's a demo. Machine 1 is running MacOS 12.6.3 and OpenZFS 2.1.0. Machine 2 is running MacOS 13.4 and OpenZFS 2.1.6. You will see that the receive operation concludes successfully on Machine 1 but fails on Machine 2.
Thanks.
- Code: Select all
machine1:~ root# uname -a
machine1.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Apr 24 21:11:35 PDT 2023; root:xnu-8020.240.18.701.5~1/RELEASE_ARM64_T8101 arm64
machine1:~ root# zfs -V
zfs-macOS-2.1.0-1
zfs-kmod-2.1.0-1
machine1:root root# dd if=/dev/zero of=afile bs=1024k count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 0.026766 secs (2507242920 bytes/sec)
machine1:root root# zpool create testpool /var/root/afile
machine1:root root# zfs create testpool/fs
machine1:root root# zfs snapshot testpool/fs@asnap
machine1:root root# zfs snapshot testpool/fs@bsnap
machine1:root root# zfs send -i testpool/fs@asnap testpool/fs@bsnap > bsnap_incr
machine1:root root# zfs destroy testpool/fs@bsnap
machine1:root root# zfs receive -Fdv testpool < bsnap_incr
receiving incremental stream of testpool/fs@bsnap into testpool/fs@bsnap
received 312B stream in 1 seconds (312B/sec)
machine1:root root#
---------------------------------------------
machine2:~ root# uname -a
machine2.local 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 arm64
machine2:~ root# zfs -V
zfs-macOS-2.1.6-1
zfs-kmod-2.1.6-1
machine2:~ root# dd if=/dev/zero of=afile bs=1024k count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 0.018230 secs (3681232255 bytes/sec)
machine2:~ root# zpool create testpool /var/root/afile
machine2:~ root# zfs create testpool/fs
machine2:~ root# zfs snapshot testpool/fs@asnap
machine2:~ root# zfs snapshot testpool/fs@bsnap
machine2:~ root# zfs send -i testpool/fs@asnap testpool/fs@bsnap > bsnap_incr
machine2:~ root# zfs destroy testpool/fs@bsnap
machine2:~ root# zfs receive -Fdv testpool < bsnap_incr
receiving incremental stream of testpool/fs@bsnap into testpool/fs@bsnap
cannot receive incremental stream: invalid backup stream
machine2:~ root#