Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2021 11:40:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 259093] [zfs] [panic] NULL pointer dereference on "zfs send --raw" of encrypted filesystem.
Message-ID:  <bug-259093-3630-r1WH3eXtRf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259093-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259093-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259093

--- Comment #1 from Peter Jeremy <peterj@FreeBSD.org> ---
I've modified my kernel to return an error, instead of panicing, and done s=
ome
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 c=
an
do a "zfs send" of those filesystems from that pool without error.
* I created a third pool, with encryption enabled, and copied/encrypted tho=
se 3
filesystems from the original pool to the third pool.  Doing a send from th=
at
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 t=
he
filesystems - with xz, one shrinks to 39.5MB and the other to 35.8MB.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259093-3630-r1WH3eXtRf>