Re: ZFS problems since recently ?

From: John Kennedy <warlock_at_phouka.net>
Date: Tue, 02 Jan 2024 03:42:21 UTC
On Mon, Jan 01, 2024 at 02:27:17PM +0100, Kurt Jaeger wrote:
> > 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
> 
> That's one of the panic messages I had as well.
> 
> See
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276051
> 
> for additional crashes and dumps.
> 
> >   I didn't tweak this system off defaults for block-cloning.  I haven't been following
> > that issue 100%.
> 
> Do you have
>	vfs.zfs.dmu_offset_next_sync=0
> ?

  I reverted everything and reinstalled.  The VERIFY(BP_GET_DEDUP(bp)) panic
hasn't reoccurred (tended to happen on poudriere-build cleanup), which may
lean it more towards corruption, or maybe I just haven't been "lucky" with my
small random chance of corruption.

  I did set vfs.zfs.dmu_offset_next_sync=0 after the bsdinstall was complete
(maybe I could have loaded the zfs kernel module from the shell and set it
before things kicked off).