[Bug 259093] [zfs] [panic] NULL pointer dereference on "zfs send --raw" of encrypted filesystem.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Oct 2021 11:40:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259093 --- Comment #1 from Peter Jeremy <peterj@FreeBSD.org> --- I've modified my kernel to return an error, instead of panicing, and done some investigating: * The problem affects 3 (out of 81) filesystems I have. * Those 3 filesystems don't have any unusual configuration. * The encrypted pool reports no errors on a scrub. * I still have the original pool (from before I did the encryption) and I can do a "zfs send" of those filesystems from that pool without error. * I created a third pool, with encryption enabled, and copied/encrypted those 3 filesystems from the original pool to the third pool. Doing a send from that pool fails in the same way. * The error reports that it can't send an intermediate snapshot within the filesystem (the snapshots are different for each filesystem). If I delete the snapshot that reports the error then the error moves to the next most recent snapshot. * Creating the third pool with a different encryption key has no effect (unsurprising but I thought I'd check). I'm doing a scrub of the original pool but would be surprised if it reports any errors. At this point, it looks like there's something in the original filesystems that doesn't cause any issue with an unencrypted filesystem but breaks once that filesystem is encrypted. If anyone wants to investigate, I'm happy to share send streams from 2 of the filesystems - with xz, one shrinks to 39.5MB and the other to 35.8MB. -- You are receiving this mail because: You are the assignee for the bug.