Re: ZFS problems since recently ?

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Tue, 02 Jan 2024 07:28:48 UTC
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

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF