zfs recv fails with checksum mismatch on valid stream

Bug #2072747 reported by Albert Zeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm using a Raspberry Pi 5 Model B Rev 1.0 with Ubuntu Core 24.04. zfs-2.2.2-0ubuntu9.

`zfs send data-2024-06-04@2024-07-05a -R | zfs recv data-2024-06-04-backup -F` results in:
```
cannot receive new filesystem stream: checksum mismatch
```
`zpool status` doesn't show any problems:
```
  pool: data-2024-06-04
 state: ONLINE
  scan: scrub repaired 0B in 01:00:27 with 0 errors on Sat Jul 6 01:00:58 2024
config:

        NAME STATE READ WRITE CKSUM
        data-2024-06-04 ONLINE 0 0 0
          raidz1-0 ONLINE 0 0 0
            ata-ST4000NE001-2MA101_WS253ZJH ONLINE 0 0 0
            ata-ST4000NE001-2MA101_WS254FSH ONLINE 0 0 0

errors: No known data errors
```
Then I did the `zfs recv` on some other computer (but the `zfs send` still on the Pi), and that works without errors!

It seems to be related to the Ubuntu Raspberry Pi package of ZFS. There is an upstream bug report by someone else with a very similar problem: https://github.com/openzfs/zfs/issues/16243

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: zfsutils-linux 2.2.2-0ubuntu9
ProcVersionSignature: Ubuntu 6.8.0-1006.6-raspi 6.8.4
Uname: Linux 6.8.0-1006-raspi aarch64
NonfreeKernelModules: zfs
ApportVersion: 2.28.1-0ubuntu3
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: config-disk (/dev/mmcblk0p1)
Date: Thu Jul 11 10:37:19 2024
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=tmux-256color
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Albert Zeyer (albertzeyer) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.