Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected]MB to Hacker [email protected] • 2 years ago

ZFS silent corruption bug found: replaces chunks inside copied files by zeroes

github.com

external-link
message-square
1
fedilink
  • cross-posted to:
  • [email protected]
5
external-link

ZFS silent corruption bug found: replaces chunks inside copied files by zeroes

github.com

@[email protected]MB to Hacker [email protected] • 2 years ago
message-square
1
fedilink
  • cross-posted to:
  • [email protected]
some copied files are corrupted (chunks replaced by zeros) · Issue #15526 · openzfs/zfs
github.com
external-link
System information Type Version/Name Distribution Name Gentoo Distribution Version (rolling) Kernel Version 6.5.11 Architecture amd64 OpenZFS Version 2.2.0 Reference https://bugs.gentoo.org/917224 ...

HN Discussion

  • InEnduringGrowStrong
    link
    fedilink
    2•2 years ago

    The HN thread is worth a read if you’re running ZFS.

    n8henrie 10 hours ago | prev | next [–]

    For those just wondering “am I affected?”, my understanding is:

    zpool get all | grep bclone

    If the result is 0 for both bcloneused and bclonesaved then it’s safe to say that you don’t have silent corruption. [0]

    People are using reproducer.sh (https://gist.github.com/tonyhutter/d69f305508ae3b7ff6e9263b22031a84#file-reproducer-sh) to see if they can reproduce the bug intentionally: [1]

    https://github.com/0x0177b11f/zfs-issue-15526-check-file tries to find potentially corrupted files (with some risk of false positives) by searching for zero-byte blocks: [2]

    [0]: https://github.com/openzfs/zfs/issues/15526#issuecomment-1810819382

    [1]: https://github.com/openzfs/zfs/issues/15526#issuecomment-1823575126

    [2]: https://github.com/openzfs/zfs/issues/15526#issuecomment-1826453702

Hacker [email protected]

[email protected]
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: [email protected]

A mirror of Hacker News’ best submissions.

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 2 subscribers
  • 10.3K Posts
  • 2.76K Comments
  • Modlog
  • mods:
  • @[email protected]
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org