Stories
Slash Boxes
Comments

SoylentNews is people

Submission Preview

Link to Story

Btrfs RAID 5/6 Code Completely Hosed

Accepted submission by The Mighty Buzzard mailto:themightybuzzard@soylentnews.org at 2016-08-06 20:19:19
Software

The nice feller over at phoronix brings us this handy to have bit of info [phoronix.com]:

It turns out the RAID5 and RAID6 code for the Btrfs file-system's built-in RAID support is faulty and users should not be making use of it if you care about your data.

There has been this mailing list thread [mail-archive.com] since the end of July about Btrfs scrub recalculating the wrong parity in RAID5. The wrong parity and unrecoverable errors has been confirmed by multiple parties. The Btrfs RAID 5/6 code has been called as much as fatally flawed [mail-archive.com] -- "more or less fatally flawed, and a full scrap and rewrite to an entirely different raid56 mode on-disk format may be necessary to fix it. And what's even clearer is that people /really/ shouldn't be using raid56 mode for anything but testing with throw-away data, at this point. Anything else is simply irresponsible."

Just as well I haven't gotten around to trying it then.


Original Submission