this post was submitted on 16 Jun 2023
7 points (100.0% liked)

Linux

48372 readers
2159 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've always wondered, given the warnings in documentation, if there are any people brave enough to try Btrfs in a RAID5/6 configuration. Has anyone here actually tried it with "real" data?

top 9 comments
sorted by: hot top controversial new old
[–] eldereko 3 points 1 year ago

it's still unstable and shouldn't be used for anything except testing

[–] jyte 2 points 1 year ago

It depends on what you call "real" data.

I find it good enough for home NAS that serve as jellyfin instance and store a hell lot of stuff. Things I would rather keep, but anything really critical is stored on several computers.

Works well so far (about 4 or 5 years already now) with raid5 for data but raid1 for metadata.

[–] _HR_ 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago (1 children)

I'd like to hear more. Are you still using it? What's kind of data do/did you store on it?

[–] _HR_ 2 points 1 year ago

Yes, as in, there were people using Btrfs RAID 5/6. It didn't end well. Not that I've used it - I very much prefer having my data safe.

The warnings in the docs are there for a reason - those modes of Btrfs simply aren't finished and thus aren't fit to be used.

You can test this yourself easily in a VM, this will let you see how things fail for Btrfs 5/6 when one of the disks "fails".

[–] [email protected] 1 points 1 year ago

Some people in the comments of this claims to use it with real data https://www.phoronix.com/news/Linux-6.2-Btrfs-EXT4

If you use it don't forget to use RAID1 for metadata

[–] AbidanYre 1 points 1 year ago* (last edited 1 year ago)

I tried it probably a decade ago and it ended badly.

The last time I checked it seemed like "the powers that be" running btrfs had shifted focus away from raid 5/6 because enterprises didn't care about it.

[–] [email protected] 1 points 1 year ago

Given how flexible RAID1 in btrfs is, I don't really see any benefit in using RAID5/6.

[–] [email protected] 1 points 1 year ago

If the devs say "unstable", it's probably unstable.