Re: ZFS problems since recently ?

From: Kurt Jaeger <pi_at_freebsd.org>
Date: Tue, 02 Jan 2024 06:49:13 UTC
Hi!

> Am 2023-12-31 19:34, schrieb Kurt Jaeger:
> > I already have
> > 
> > vfs.zfs.dmu_offset_next_sync=0
> > 
> > which is supposed to disable block-cloning.
> 
> It isn't. This one is supposed to fix an issue which is unrelated to block
> cloning (but can be amplified by block cloning). This issue is fixed since
> some weeks, your Dec 23 build should not need it (when the issues happens,
> you have files with zero as parts of the data instead of the real data,
> and only if you copy files at the same time as those files are modified,
> and then only if you happen to get the timing right).
> 
> The sysctl for block cloning is vfs.zfs.bclone_enabled.
> To check if a pool has made use of block cloning:
>     zpool get all poolname | grep bclone

Thanks. I now used that sysctl and my testcase (testbuild of shells/bash)
and it did not crash.

-- 
pi@FreeBSD.org         +49 171 3101372                  Now what ?