- cross-posted to:
- freebsd
- cross-posted to:
- freebsd
Unless you are missed the news. Bug found in OpenZFS causing data corruption, FreeBSD, Linux and illumos are all affected.
Some good news from bug tracker on OpenZFS
OpenZFS 2.2.2 and 2.1.14 released with fix in place. If you don’t get your OpenZFS direct from here, point your vendor at it.
Patch your systems!!
For all Proxmox users it looks like the new ZFS kernel module with the patch is included in the opt-in kernel 6.5.11-6-pve for now.
The kernel 6.5 actually became the default in Proxmox 8.1, so a regular dist-upgrade should bring it in. Run “zpool --version” after rebooting and double check you get this:
zfs-2.2.0-pve4 zfs-kmod-2.2.0-pve4
As this versions are patched for bug.
Thank you for this info!
TrueNAS iX Systems statement with interim mitigation steps.
The statement is very informative. The bug happens under increased read/write operations to the same file causing a race condition.
I also found interesting:
Despite the bug being present in OpenZFS for many years, this issue has not been found to impact any TrueNAS systems. The bug fix is scheduled to be included in OpenZFS 2.2.2 within the next week
It looks like due to the older coreutils Ubuntu 22.04 LTS is unlikely to be affected as much. So if you’re on Ubuntu LTS and have not compiled it yourself, you might have dodged data corruption.
Would this corruption be caught by the checksumming?
No
This seems to affect ZFS >=2.2.0. Ubuntu 22.04 LTS is on ZFS 2.1.5
Nope!
OpenZFS through 2.1.13 and 2.2.x through 2.2.1 contain this bug.
This issue occurs less often in version 2.2.1, and in versions before 2.1.4, because of the default configuration in those versions.
From here
Weird. Reading the issue on GitHub I got the impression that it affects 2.2.0+.
Also I glanced something that the version of coreutils also contributes to the interaction.
E: Seems like Ubuntu LTS is unlikely to be affected a lot due to the older coreutils.
Jep, it seems like Damocles Sword was hanging above us the whole time (⊙_⊙)
At this point I think I’m just gonna wait for the patch to land in Ubuntu.
But my filesystem has RAID and checksums and I use ECC memory, I don’t need backups /s
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters LTS Long Term Support software version RAID Redundant Array of Independent Disks for mass storage ZFS Solaris/Linux filesystem focusing on data integrity
3 acronyms in this thread; the most compressed thread commented on today has 13 acronyms.
[Thread #335 for this sub, first seen 4th Dec 2023, 15:25] [FAQ] [Full list] [Contact] [Source code]
Oh shit,
Welp work is going to be fun