4 ms·
BTRFS is being positioned as an alternative to ZFS (amongst others) without the licensing issues (and less rational concerns like the current/past politics of i
by dspillett 8y ago
BTRFS is being positioned as an alternative to ZFS (amongst others) without the licensing issues (and less rational concerns like the current/past politics of it all), so perhaps there is a "why do we X it when Y is close" with a bit of extra NIH syndrome mixed in?
- CrLf 8y agoIsn't btrfs also at risk? I was under the impression that it lost some steam in the recent past and was on its way to become the next Hurd.
- vetinari 8y agobtrfs has a problem with it's image as being unreliable (some well deserved). Redhat obsoleted it, because they use kernel 3.10 in RHEL7 and they were doing nothing but backporting, without having any btrfs expertise in house anyway. Btrfs continues to be developed by Oracle, Suse, Facebook, Fujitsu and the rest of the usual suspects.
- walrus01 8y agoRHEL is famous for using kernels that are ancient, even by the notoriously conservative and risk averse debian-stable standards. I can't even imagine the hassle of backporting stuff from much newer kernels into 3.10 to make btrfs work. If you want to use btrfs in production (not the best idea, IMHO, but orgs such as facebook do it) you absolutely need to be running a 4.9.x or better kernel.
- snuxoll 8y agoCalling them ancient is a bit unfair, they regularly backport hardware support and select other features from newer kernels. Unlike other distributions, however, they have a stable kernel ABI for an entire release, so they can’t bring in changes that break white listed symbols.
- ajross 8y agoNot that I've seen. It's there and works. I think a lot of that impression is driven by the fact that... let's be honest: filesystem features are stale, dinosaur stuff. All the cool kids are worrying about cloud scale storage backends. At the end of the day btrfs and ZFS both are just ways to help single-system administrators do better and more reliable backups. I know that's not how they're positioned, but really that's all they do.
- r1ch 8y agobtrfs still has a lot of issues unfortunately. I tried using buildroot once and the entire filesystem kinda died with the infamous "out of space" error even though there was plenty free. Several RAID levels are also unsafe to use. After experiencing both, I trust ZFS a lot more.
- petre 8y agoAgreed. However, Synology uses it in their NAS products along with md RAID. Also, SuSE ships it in all their products. OpenSuSE LEAP 15 which was released two weeks ago and has a transactional updates feature that uses btrfs snapshots.
- Dylan16807 8y agoI've only used BTRFS a handful of times and I've still had three filesystems die on me. Two became cripplingly slow, probably because of automatic snapshots (even though there was a small retention limit). One was fine until it suddenly got into a state where it can only be mounted read-only or mounting never finishes, despite a lot of parameters thrown at it trying to fix that. The first two were not terribly long ago, and the last one was 2018.
- shanemhansen 8y agoI had the same experience with btrfs. It killed my machine multiple times. ZFS on my laptop took me an evening to setup, but it's been completely hassle free. ZFS is really easy to use.
- yellowapple 8y ago
- kzrdude 8y agoIt's installed an works many places so it's not quite Hurd.
- paulie_a 8y agoMaybe, but with btrfs your data is definitely at risk. Don't ever use it for anything important. Backups are important but even with those, btrfs is a filesystem that should be uninvented.
- KaiserPro 8y agoThe reason why its not taken off is that its much younger than ZFS, and more crucially its got terrible admin tools and documentation. It might be a brilliant file system, but I'm never going ot use it because its such an arse to learn how to use it properly.
- 6c696e7578 8y agoThe Oracle Linux SAG is a reasonable place to start for documentation on it: https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-about-btrfs.html https://docs.oracle.com/cd/E52668_01/E54669/html/ol7-about-b... However, I often end up at the Arch Linux wiki, too: https://wiki.archlinux.org/index.php/btrfs https://wiki.archlinux.org/index.php/btrfs
- DiabloD3 8y agoOracle discontinued BTRFS development when they bought Sun, merged the ZFS and BTRFS team, and then fired anyone on the BTRFS team that didn't have ZFS experience. BTRFS is basically on maintenance mode, and no one at Redhat/IBM or Ubuntu has any interest in keeping it alive. Anyone that requires HA services will not be using BTRFS. Redhat ships with XFS as the default file system, Ubuntu ships with Ext4 as default with heavy install-time ZFS support for enterprise storage, and BTRFS is no longer being spoken of by anyone as a potential Ext5 candidate.
- gst 8y agoIs it in maintenance mode? Chris Mason (the main btrfs developer) works for Facebook now and Facebook uses btrfs on "millions of servers" (source: https://code.fb.com/open-source/linux/ https://code.fb.com/open-source/linux/).
- DiabloD3 8y agoFacebook's usage of it is very specific, but as you mentioned, Chris Mason (who used to also work at Oracle on their BTRFS team before Oracle dumped BTRFS) is there in-house to make sure it is smooth. However, I'm pretty sure if I boiled the commit history down for the kernel, most of Facebook's commits would be Flashcache, and not BTRFS. What I forgot, though, is SuSE supports it as their enterprise FS of choice, which is maybe more important than Facebook.
- cookiecaper 8y agoYes. It's important to recognize that there's a big difference in one's willingness to adopt a technology if its creator is on staff. Chris Mason's full-time job is to make sure the thing he built works well for his employer. If you work some place that doesn't have that kind of luxury, perhaps a little extra conservatism is warranted before you go deploying across "millions of servers".
- cmurf 8y ago90% of this is wrong. Oracle bought Sun in 2009, and continued to make substantial contributions for years after that, and they still have developers actively contributing to Btrfs. The idea they merged the ZFS and Btrfs teams is absurd, the two file systems are nothing alike either in terms of design, on disk format, or code base. Btrfs is on maintenance mode? Based on what evidence? There's 1k-2k commits per kernel cycle. There are dozens of developers actively working on it. Facebook is certainly using it in production for high availability in concert with Gluster FS, they're also using Btrfs almost exclusively with Tupperware, their containerization service. Red Hat has quite a lot of device mapper, LVM, and XFS developers so it makes sense for them to work on storage solutions that continue to build on that. And Red Hat hasn't been significantly contributing to Btrfs for many years now, so their lack of interest isn't new and hasn't affected Btrfs development.
- the8472 8y agoA critical issue is that btrfs raid5/6 is officially considered unstable.