Re: FreeBSD, Illumos ZFS, and OpenZFS

From: David Christensen <dpchrist_at_holgerdanske.com>
Date: Sat, 24 Feb 2024 07:32:23 UTC
On 2/22/24 14:01, mike tancsa wrote:


Thank you for the reply.


> On 2/18/2024 10:10 PM, David Christensen wrote:
>>
>> Now another OpenZFS bug has been found:
>>
>> https://www.phoronix.com/news/OpenZFS-Encrypt-Corrupt
>>
>>
>> My avoidance of OpenZFS has been reaffirmed.  I do not want my data on 
>> OpenZFS.
>>
> TBH, you are overthinking this. 


Given two severe bugs in four months, it does not require much thought 
to conclude that OpenZFS places data at risk.


> If you feel OpenZFS doesnt work for you, switch to maybe Open Indiana, 
> but I doubt there is as much development going on there.

OpenZFS seems to have taken over:

https://www.illumos.org/docs/about/features/


> Yes, there are bugs.  


https://github.com/openzfs/zfs/issues/15526

https://github.com/openzfs/openzfs-docs/issues/494


> There are also 
> still bugs in UFS being fixed after all these years.  ZFS on FreeBSD 
> both in 12 and 13 have a better than excellent track record.   Nothing 
> beats zfs snapshot management ease. UFS is not in the same league here. 
> Nor is bit rot protection via zfs scrub. You said you are moving from 
> RELENG_12 which does not have any zfs encryption so dont worry about 
> edge case zfs encryption bugs in OpenZFS if you dont use that feature in 
> the first place.  If you want to stick with FreeBSD, move to RELENG_13. 


The FreeBSD 13.2-R installers are from April 7, 2023:

https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.2/


The fix for OpenZFS bug #15526 was added to FreeBSD on December 7, 2023:

https://cgit.freebsd.org/ports/commit/sysutils/openzfs?id=117f55784d981833d6b51038afc215239382e651

https://cgit.freebsd.org/ports/commit/sysutils/openzfs-kmod?id=117f55784d981833d6b51038afc215239382e651


If I use a FreeBSD 13-2-R installer to create a new FreeBSD instance 
with ZFS file systems and without native encryption:

1.  Will the installed FreeBSD instance contain corrupt files?

2.  Will the installed FreeBSD instance contain OpenZFS bug #15526?


David