Same problem here. But I think the transfer is correct:

root@vs-uefi:/home/volker# zfs version
zfs-0.8.3-1ubuntu12.12
zfs-kmod-2.0.2-1ubuntu5


root@vs-uefi:/home/volker# zfs send -i vs2016/source@1 vs2016/source@2 | zfs 
receive -vFs zfshome/source
receiving incremental stream of vs2016/source@2 into zfshome/source@2
snap zfshome/source@2 already exists; ignoring
cannot receive: failed to read from stream
cannot receive incremental stream: dataset does not exist

root@vs-uefi:/home/volker# zfs list -t snapshot vs2016/source
NAME              USED  AVAIL     REFER  MOUNTPOINT
vs2016/source@1    72K      -     6,07M  -
vs2016/source@2  4,21G      -     4,21G  -


root@vs-uefi:/home/volker# zfs list -t snapshot zfshome/source
NAME               USED  AVAIL     REFER  MOUNTPOINT
zfshome/source@1    18K      -     6,28M  -
zfshome/source@2     0B      -     4,25G  -

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1939177

Title:
  Ubuntu 20.04.2 LTS kernel 5.11.0-25 zfs send | receive broken

Status in zfs-linux package in Ubuntu:
  Confirmed

Bug description:
  https://github.com/openzfs/zfs/issues/12462

  Ubuntu 20.04.2 LTS
  Kernel: 5.11.0-25-generic #27~20.04.1-Ubuntu
  zfs-0.8.3-1ubuntu12.12
  zfs-kmod-2.0.2-1ubuntu5

  Trying to run zfs send | receive and getting an error:

  # zfs send  'rpool/home'@'autosnap_2020-08-01_00:59:01_monthly' | zfs receive 
 -s -F 'nas/rpool_backup/home'
  cannot receive: failed to read from stream
  cannot receive new filesystem stream: dataset does not exist

  This used to work before the recent Ubuntu kernel update from 5.8 to 5.11
  Kernel 5.8 came with zfs-kmod-0.8.4-1ubuntu11.2

  Ubuntu updates that broke it:

  Upgrade: linux-headers-generic-hwe-20.04:amd64 (5.8.0.63.71~20.04.45, 
5.11.0.25.27~20.04.10), linux-
  image-generic-hwe-20.04:amd64 (5.8.0.63.71~20.04.45, 5.11.0.25.27~20.04.10), 
linux-generic-hwe-20.04
  :amd64 (5.8.0.63.71~20.04.45, 5.11.0.25.27~20.04.10)

  Sending the zfs send part to a file works, but then sending the file
  to zfs receive also fails. The dump file size seems reasonable but the
  contents may not be correct.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1939177/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to