Re: ZFS problems since recently ?

From: John Kennedy <warlock_at_phouka.net>
Date: Mon, 01 Jan 2024 13:59:29 UTC
On Mon, Jan 01, 2024 at 06:43:58AM +0100, Kurt Jaeger wrote:
> markj@ pointed me in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276039
> to
> https://github.com/openzfs/zfs/pull/15719 
> 
> So it will probably be fixed sooner or later.
> 
> The other ZFS crashes I've seen are still an issue.

  My poudriere build did eventually fail as well:

	...
	[05:40:24] [01] [00:17:20] Finished devel/gdb@py39 | gdb-13.2_1: Success
	[05:40:24] Stopping 2 builders
	panic: VERIFY(BP_GET_DEDUP(bp)) failed

	cpuid = 2
	time = 1704091946
	KDB: stack backtrace:
	db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00f62898c0
	vpanic() at vpanic+0x131/frame 0xfffffe00f62899f0
	spl_panic() at spl_panic+0x3a/frame 0xfffffe00f6289a50
	dsl_livelist_iterate() at dsl_livelist_iterate+0x2de/frame 0xfffffe00f6289b30
	bpobj_iterate_blkptrs() at bpobj_iterate_blkptrs+0x235/frame 0xfffffe00f6289bf0
	bpobj_iterate_impl() at bpobj_iterate_impl+0x16e/frame 0xfffffe00f6289c80
	dsl_process_sub_livelist() at dsl_process_sub_livelist+0x5c/frame 0xfffffe00f6289d00
	spa_livelist_delete_cb() at spa_livelist_delete_cb+0xf6/frame 0xfffffe00f6289ea0
	zthr_procedure() at zthr_procedure+0xa5/frame 0xfffffe00f6289ef0
	fork_exit() at fork_exit+0x82/frame 0xfffffe00f6289f30
	fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00f6289f30
	--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
	KDB: enter: panic
	[ thread pid 9 tid 100223 ]
	Stopped at      kdb_enter+0x33: movq    $0,0xe3a582(%rip)
	db>

  Trying to do another poudriere build fails almost immediatly with that verify error.

  Your verify errors don't match up exactly.  I've got snapshots from before I started
freaking it out with the sysctl calls and possibly inducing corruption.

  I didn't tweak this system off defaults for block-cloning.  I haven't been following
that issue 100%.