News for hackers. Stuff that matters.
Re:⁠Btrfs has been deprecated in RHEL by cyphar on Wednesday August 02, 2017 @06:10AM (#14909340)
The particular bug that sparked that warning was fixed a while ago, but as a precaution against "btrfs ate my data" stories they've removed the ability to create btrfs-raid from the CLI tools (you can still use md RAID with btrfs but you lose most of the benefits of btrfs that way).
Re:⁠Btrfs has been deprecated in RHEL by cmurf on Wednesday August 02, 2017 @10:54AM (#14911012)
Who's they? Upstream have not removed Btrfs raid creation capability in btrfs-progs, I'm not aware of any distro that has patched it this way.
Re:⁠Btrfs has been deprecated in RHEL by cyphar on Wednesday August 02, 2017 @11:04AM (#14911103)
Oh, I must've misunderstood this mail[1] and thought they had actually gone through with #ifdef-ing out the raid56 creation code in btrfs-progs.

My bad.

[1]: https://www.mail-archive.com/[email protected]/msg...

Re:⁠Btrfs has been deprecated in RHEL by tw04 on Wednesday August 02, 2017 @09:36AM (#14910413)
Which benefits are those? Both synology and qnap have the ability to detect and correct bitrot doing btrfs on top of mdraid.
Re:⁠Btrfs has been deprecated in RHEL by rodgerd on Thursday August 03, 2017 @06:27PM (#14924528)
The design of btrfs allows for mismatched disks to be used in an array, and the btrfs RAID will keep the right level of redundancy while using the maximal amount of space, e.g. with a 4 TB, 2 TB, and 1 TB drive:

mdadm will give you 1 TB in RAID 1, or 1.5 TB in RAID 10 (constrained by the smallest drive).

btrfs will give you 3 TB in RAID 1 (constrained by the sum of the smallest drives).

btrfs also allows per-subvolume raid policies. So you could, for example, give users an "archive" subvolume in their home directory. You could then mark this as RAID 1 or RAID 5 (because you don't care so much about performance) while the main /home filesystem is RAID 10.

Unfortunately the RAID code is all horribly broken.

Re:⁠Btrfs has been deprecated in RHEL by cyphar on Wednesday August 02, 2017 @09:46AM (#14910475)
Being able to have non-symmetric disk topologies with redundancy. I believe that md raid does not support that, while btrfs multi-device does (which is what I think of as one of the really unique features of btrfs -- not even ZFS can handle the sort of disk topologies that btrfs can).
Re:⁠Btrfs has been deprecated in RHEL by tw04 on Wednesday August 02, 2017 @10:51PM (#14916589)
md-raid absolutely supports that and synology has for a long time. They call it "SHR". You simply do raid over disk partitions to enable disks of disparate sizes.

The reason ZFS doesn't support it, and absolutely 0 enterprise storage devices support this is because as the disks fill up, you sacrifice both performance and redundancy. Synology won't even support it on their high-end devices for this very reason. They'll only do it on their devices targeted at home use.