3 ms·
This is neat, but I wouldn't trust BTRFS for any serious usage. I've read way too many data loss reports to make me stay away even for personal use. Could this
by imiric 3y ago
This is neat, but I wouldn't trust BTRFS for any serious usage. I've read way too many data loss reports to make me stay away even for personal use.
Could this work on ZFS, or a layered FS like Aufs/OverlayFS?
- bantunes 3y agoI thought the only major issues with Btrfs were with RAID usage. I mean, some distros default to it out of the box, right?
- capableweb 3y agoBoth openSUSE and Fedora defaults to BTRFS so not sure what parent is talking about, you won't have any data loss for the average/common use cases.
- sofixa 3y agoDepends on what you mean by "common/average use cases". Common for desktop use, so at most two disk parity? Yeah, that's probably fine. Common for server use, so something akin to RAID5/6? It's still recommended to stay away from it on BTRFS, which makes it a non-starter for any NAS or most other server uses.
- imiric 3y agoTrue, most issues are with RAID, but there are still many others listed here[1] that I wouldn't be comfortable with. Perhaps I'm being overly cautious after years of not experiencing issues with ext4+LVM+LUKS. BTRFS always gave the impression of being in a perpetual state of instability, but maybe I should take another look at it. [1]: https://wiki.debian.org/Btrfs#Status https://wiki.debian.org/Btrfs#Status
- argulane 3y agoThere is https://github.com/Photonios/pgcow https://github.com/Photonios/pgcow that supports ZFS. BTRFS is not that scary. Quota and RAID56 is broken but other features have been stable quite some time. Btrfs is used by default for few Linux distros and Facebook makes quite heavy use of it on their servers https://lwn.net/Articles/824855/ https://lwn.net/Articles/824855/ I have been running btrfs on all of my machines since 2016 as transparrent file compression helps a lot with keeping disk usage down. Btrfs RAID1 even saved my data once when one of the SSD's decided to die suddenly. For maximum performance you should run databases on top of XFS anyway. It also supports per-file COW via reflinks.
- psi 3y agoNo reason it couldn’t. I gave a micro-talk at RubyConf 2013 on a proof-of-concept I’d been experimenting with at work that used ZFS + git hooks to do pretty much the same thing. https://m.youtube.com/watch?v=K66r3yZd2_I https://m.youtube.com/watch?v=K66r3yZd2_I
- psi 3y agoErr, at GoRuCo, rather. The Gotham Ruby Conference :)