Re: zfs encrypted datasets and snapshots

From: Alan Somers <asomers_at_freebsd.org>
Date: Fri, 07 Feb 2025 16:37:37 UTC
On Fri, Feb 7, 2025 at 7:42 AM mike tancsa <mike@sentex.net> wrote:
>
> I have a project coming up that I would like to make use of this feature
> set. For replication, we use zrepl quite a bit.  In the past there were
> a lot of cases of corruption of snapshots and pool errors when these
> features were used together.
>
> e.g. to name just one
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282622
>
> But some reports have 14.x more stable.  I set up a test vm using 14.2R
> with a jail that lives on an encrypted dataset and gets snapshotted
> every 10min with the snapshots sent to another server.  In the VM I am
> just doing buildworld over and over again for now to create a load with
> some disk io.  Are there any particular loads that would trigger the
> issue more often than not ?
>
>
>      ---Mike

Search the issues at https://github.com/openzfs/zfs .  There are still
reports of corruption with ZFS crypto.  One user reported that taking
recursive snapshots while a "zfs send" is in progress can trigger
corruption, but I think there are others, too.