kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Selfhosted@lemmy.worldbyTheHolm@aussie.zone
3 years

BUG: OpenZFS data corruption

www.freebsd.org English

Unless you are missed the news. Bug found in OpenZFS causing data corruption, FreeBSD, Linux and illumos are all affected.

Good description of the bug

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!!

12
    You must log in or register to comment.

    • Fermiverse@feddit.deEnglish
      3 years

      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.

        • tinysalamander@lemmy.worldEnglish
          3 years

          Thank you for this info!

        • s38b35M5@lemmy.worlddeleted by creatorEnglish
          1 month

          deleted by creator

            • varsock@programming.devEnglish
              3 years

              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

            • Avid Amoeba@lemmy.caEnglish
              3 years

              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

                • Fermiverse@feddit.deEnglish
                  3 years

                  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

                    • Avid Amoeba@lemmy.caEnglish
                      3 years

                      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.

                        • Fermiverse@feddit.deEnglish
                          3 years

                          Jep, it seems like Damocles Sword was hanging above us the whole time (⊙_⊙)

                            • Avid Amoeba@lemmy.caEnglish
                              3 years

                              At this point I think I’m just gonna wait for the patch to land in Ubuntu.

                      • socphoenix@midwest.socialEnglish
                        3 years

                        FreeBSD has the patch pushed, corrected versions are:

                        14.0-p1

                        13.2-p6

                        12.4-p8

                        • Decronym@lemmy.decronym.xyzbot accountEnglish
                          3 years

                          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]

                          • Atemu@lemmy.mlEnglish
                            3 years

                            But my filesystem has RAID and checksums and I use ECC memory, I don’t need backups /s

                            • Possibly linux@lemmy.zipEnglish
                              3 years

                              Oh shit,

                              Welp work is going to be fun

                              Selfhosted@lemmy.world

                              selfhosted@lemmy.world

                              Subscribe from remote instance

                              Create post

                              Report community

                              Modlog
                              You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

                              A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

                              Rules:

                              Detailed Rules Post

                              1. Be civil.

                              2. No spam.

                              3. Posts are to be related to self-hosting.

                              4. Don’t duplicate the full text of your blog or readme if you’re providing a link.

                              5. Submission headline should match the article title.

                              6. No trolling.

                              7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

                              8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

                              Resources:

                              • selfh.st Newsletter and index of selfhosted software and apps
                              • awesome-selfhosted software
                              • awesome-sysadmin resources
                              • Self-Hosted Podcast from Jupiter Broadcasting

                              Any issues on the community? Report it using the report flag.

                              Questions? DM the mods!

                              Visibility: Public

                              This community is visible to everyone.

                              • 590 users / Day
                              • 3.14K users / Week
                              • 5.3K users / Month
                              • 8.87K users / 6 months
                              • 6.6K posts
                              • 158K comments
                              • 1 local subscriber
                              • 64K subscribers
                              • UI: 1.0.0-beta.0
                              • BE: 1.0.0-alpha.20
                              • Modlog
                              • Instances
                              • Docs
                              • Code
                              • join-lemmy.org