[Bug 271292] kernel panic while dd'ing a USB disk to a ZFS directory

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 May 2023 19:16:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271292

--- Comment #8 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to dgilbert from comment #5)

You have other corruption issues not related to block cloning.
Or you may have both types corruptions. Part of the issue of
some corruptions was that they predated the checksumming that
is recorded, so scrubbing and the like does not find or fix
such corruptions.

There is a crash bug that can be temporarily avoided by:

QUOTE
When in single user mode set compression property to "off" on any zfs 
active dataset that has compression other than "off" and the sync 
property to something other than "disabled".
END QUOTE

and then working on that basis until you are using an adjusted
system version.

Do you have a pool checkpoint that predates the zpool upgrade?
If yes, would it be reasonable to revert to that? Would the
result predate the import? If yes, this could allow then
progressing by jumping over the problem period completely
but means having just older data. Similarly for creating a new
pool and restoring from backups.

Definitely get to a system based on outside the time-range
that runs from the bad import until fairly recently. Then deal
with whatever corruptions-mess may be present, if you can.

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