Post Ac9uLu9moMpnOv1jGa by hadret@fosstodon.org
 (DIR) More posts by hadret@fosstodon.org
 (DIR) Post #Ac9uLq9HiI3YyClGvg by hadret@fosstodon.org
       2023-11-24T07:41:38Z
       
       0 likes, 0 repeats
       
       Seems like #ZFS, the last reliable filesystem, has fallen. For the last 18 months or so silent data corruption had been present: https://www.reddit.com/r/zfs/comments/1826lgs/psa_its_not_block_cloning_its_a_data_corruption #Linux folks should probably follow instructions from that Reddit thread. #FreeBSD folks may want to set vfs.zfs.dmu_offset_next_sync=0 until proper fix lands…
       
 (DIR) Post #Ac9uLtIc04Iek09GNs by grahamperrin@mastodon.bsd.cafe
       2023-11-24T08:21:26Z
       
       0 likes, 1 repeats
       
       @hadret thanks! Fast-moving discussions in Reddit and GitHub. > … For the last 18 months or so …From the most recent comment (not authoritative): > … If this is right, then the short explainer is that the "is dnode dirty?" check has been wrong for years (at least since 2013, maybe back to old ZFS; I'll need to do more research). …My non-expert thought, based on that comment: whilst vfs.zfs.dmu_offset_next_sync=0 does seem prudent, if the bug has existed for a decade or more then (I guess) it's obscure enough for a majority of users to be not immediately alarmed. That's not to downplay the potential impact, just to begin putting things in perspective.<https://github.com/openzfs/zfs/issues/15526#issuecomment-1825181463>Thanks again. I'll flag this for /u/perciva in /r/freebsd under <https://old.reddit.com/r/freebsd/comments/180nzh8/-/>. #Linux #FreeBSD #ZFS #OpenZFS
       
 (DIR) Post #Ac9uLu9moMpnOv1jGa by hadret@fosstodon.org
       2023-11-24T13:33:53Z
       
       0 likes, 0 repeats
       
       FWIW #SmartOS doesn’t appear to be affected by this bug (as per a friend of mine, I’m not running any #Illumos-based distros at the moment)
       
 (DIR) Post #Ac9uLuAUljOxR7MIN6 by hadret@fosstodon.org
       2023-11-24T13:35:02Z
       
       0 likes, 0 repeats
       
       And also — by setting vfs.zfs.dmu_offset_next_sync=0 I’m no longer able to reproduce it on #FreeBSD
       
 (DIR) Post #Ac9vQW4xrKx27wXC8e by hadret@fosstodon.org
       2023-11-25T08:06:49Z
       
       0 likes, 1 repeats
       
       There are now available scripts to check for corrupted files, it should work out of the box in #Linux: https://github.com/openzfs/zfs/issues/15526#issuecomment-1826174455 On #FreeBSD you’ll need to use GNU version of b2sum (it’s part of the coreutils package and can be invoked via gb2sum)