OpenZFS Continues to Grapple with Data Corruption Challenges

  • November 28, 2023

Last week saw the release of OpenZFS 2.2.1, which was initially believed to have fixed a data corruption issue attributed to a block cloning bug in a new feature introduced in the v2.2 release. However, further investigation over the US holiday weekend revealed that the block cloning feature was not the root cause, and both v2.2.1 and pre-v2.2 releases remain susceptible to data corruption.

It has been discovered that the data corruption bug affects not only the v2.2 release but also older versions of OpenZFS. While real-world instances of data corruption are believed to be limited, scripting can reproduce the issue. Additionally, it is now understood that the OpenZFS 2.2 block cloning feature increases the likelihood of encountering the problem.

The FreeBSD project has issued an advisory regarding the OpenZFS data corruption issue and recommends a workaround involving setting sysctl vfs.zfs.dmu_offset_next_sync=0 to “drastically reduce the likelihood” of experiencing the problem.

A pending pull request on GitHub is anticipated to address the OpenZFS data corruption issue. Hopefully, a new OpenZFS point release will be available soon, effectively resolving the data corruption problem.

Source: Phoronix .

comments powered by Disqus

Related Posts

AMD Unveils EPYC 8004 "Siena" 4th Gen EPYC Processors

AMD has launched the AMD EPYC 8004 “Siena” processors for “intelligent edge” servers, according to Phoronix .

Read More

Introducing OpenTofu: The Linux Foundation's Open Source Alternative to Terraform

The Linux Foundation has announced the launch of OpenTofu, an open-source alternative to Terraform’s infrastructure as code provisioning tool.

Read More

Longhorn Releases v1.4.4-rc1, their Latest Release Candidate

Longhorn , a distributed block storage system for Kubernetes, has released its latest release candidate, Longhorn v1.

Read More