[URGENT] Bug discovered in OpenZFS vs. 2.2.0

Developer discussions.

[URGENT] Bug discovered in OpenZFS vs. 2.2.0

Postby nixota » Wed Nov 22, 2023 9:36 am

Hello everyone,

I re-post here the call for action due to a bug discovered in OpenZFS vs. 2.2.0 by the Gentoo team:

https://github.com/openzfs/zfs/releases/tag/zfs-2.2.1

Gentoo users have identified a block cloning bug (https://github.com/openzfs/zfs/issues/15526) that can result in data corruption in zfs-2.2.0. To workaround this, zfs-2.2.1 disables block cloning by default (see https://github.com/openzfs/zfs/pull/15529 and https://github.com/openzfs/zfs/commit/479dca51c66a731e637bd2d4f9bba01a05f9ac9f).


It gets recommended to update to vs. 2.2.1 ASAP.

BR
N.
nixota
 
Posts: 8
Joined: Tue Apr 04, 2023 10:12 pm

Re: [URGENT] Bug discovered in OpenZFS vs. 2.2.0

Postby lundman » Thu Nov 23, 2023 12:56 am

Oh I have been keeping an eye on the progress on that bug. Do we know if the macOS version is affected by it at all? We do
lag behind their master a little, and block cloning is not used by default.
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: [URGENT] Bug discovered in OpenZFS vs. 2.2.0

Postby lundman » Thu Nov 23, 2023 4:33 pm

I am unable to reproduce it so far, but they appear to have a work around, so if you
are concerned, it could be worth considering:

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

macOS:
sysctl kstat.zfs.darwin.tunable.zfs.dmu_offset_next_sync=0
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: [URGENT] Bug discovered in OpenZFS vs. 2.2.0

Postby nixota » Sat Nov 25, 2023 6:14 am

Thank You very much. I'll check that out.

Best Regards.
nixota
 
Posts: 8
Joined: Tue Apr 04, 2023 10:12 pm

Re: [URGENT] Bug discovered in OpenZFS vs. 2.2.0

Postby philk » Mon Dec 04, 2023 6:26 am

lundman wrote:macOS:
sysctl kstat.zfs.darwin.tunable.zfs.dmu_offset_next_sync=0

Thank you! Unfortunately I don't have this tunable on Mojave with zfs-macOS-2.1.0-1, and the bug seems to affect it as well:
Code: Select all
sysctl: unknown oid 'kstat.zfs.darwin.tunable.zfs.dmu_offset_next_sync'
philk
 
Posts: 1
Joined: Mon Dec 04, 2023 6:21 am


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 54 guests