TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Btrfs Coming to Fedora 33

107 pointsby cautionover 4 years ago

14 comments

bkorover 4 years ago
I&#x27;ve quickly skimmed the discussion on fedora-devel regarding btrfs. I wondered mainly how they&#x27;d handle the various cases where btrfs does not work well, e.g. files that change often inline (databases, VMs, etc). Apparently an application can tell to treat those files differently. So it&#x27;s basically a matter of fixing various software to work nicely with btrfs as well as any similar filesystem. As mentioned in the thread, openSUSE already uses btrfs for loads of years. I do wonder why it isn&#x27;t more supported by upstream software (postgres, VM things, etc).<p>I was also surprised how good the discussion was on fedora-devel. It seems that people didn&#x27;t break into camps of &quot;over my dead body&quot;, and &quot;if we do not do this I&#x27;ll leave&quot;, etc. It seemed more like a &quot;this is my really thought out proposal, but is it actually feasible or did I forget anything&quot;. Then people raised problems, sometimes the proposer(s) already had a solution, sometimes it was something they didn&#x27;t think of. What&#x27;s nice is that despite seeing various problems everyone seemed to understand that people are trying to improve things.<p>I didn&#x27;t read fedora-devel for many years so that was a welcome change over the past.
评论 #24259455 未加载
评论 #24258792 未加载
评论 #24258755 未加载
ge0rgover 4 years ago
btrfs has made some headlines in the past about its severely broken checksum computation in RAID modes, which rules them out for production use, i.e. <a href="https:&#x2F;&#x2F;phoronix.com&#x2F;scan.php?page=news_item&amp;px=Btrfs-RAID-56-Is-Bad" rel="nofollow">https:&#x2F;&#x2F;phoronix.com&#x2F;scan.php?page=news_item&amp;px=Btrfs-RAID-5...</a><p><i>The wrong parity and unrecoverable errors has been confirmed by multiple parties. The Btrfs RAID 5&#x2F;6 code has been called as much as fatally flawed</i><p>It would be interesting to know if this has been addressed already.<p>The big fat red warning on btrfs&#x27; own wiki page is not inspiring trust either: <a href="https:&#x2F;&#x2F;btrfs.wiki.kernel.org&#x2F;index.php&#x2F;RAID56" rel="nofollow">https:&#x2F;&#x2F;btrfs.wiki.kernel.org&#x2F;index.php&#x2F;RAID56</a><p><i>For data, it</i> should <i>be safe as long as a scrub is run immediately after any unclean shutdown</i>
评论 #24258825 未加载
评论 #24258699 未加载
评论 #24258610 未加载
评论 #24259963 未加载
评论 #24258619 未加载
评论 #24258973 未加载
评论 #24258982 未加载
评论 #24259130 未加载
评论 #24258602 未加载
bleepblorpover 4 years ago
For desktop use, what problem does btrfs solve better than lvm+ext4?<p>Btrfs is slower than lvm+ext4, doesn&#x27;t like working with large files, requires more ongoing maintenance (scrub, rebalancing), and is more prone to data corruption. Given that lvm can do snapshots under ext4, the only real benefit of btrfs is btrfs send, but for most use cases that doesn&#x27;t seem like a large enough benefit to be worth the rest of brtfs&#x27; drawbacks.
评论 #24259115 未加载
评论 #24259528 未加载
评论 #24259213 未加载
评论 #24258927 未加载
评论 #24259160 未加载
评论 #24260932 未加载
评论 #24262222 未加载
评论 #24261638 未加载
Tsiklonover 4 years ago
Interesting - As RHEL is downstream of Fedora, I thought BTRFS was not being explored further by Red Hat, on account of their deprecation of it downstream in RHEL.<p>If I recall this was because they didn&#x27;t have the developers able to work on the software, preferring to use XFS + LVM to accomplish some of the goals of BTRFS as their STRATIS project.<p>I wonder what this means for RHEL going forward in RHEL 9?
评论 #24258917 未加载
评论 #24272141 未加载
评论 #24260912 未加载
rwmjover 4 years ago
A few points:<p>- No this doesn&#x27;t affect RHEL.<p>- It&#x27;s only for Fedora Desktop spin (which for various reasons including this, but also others, you shouldn&#x27;t use even on a Desktop - I install Fedora Server on my laptop).<p>- Only a subset of btrfs features will be used, especially avoiding the ones which are known to be problematic.
评论 #24259161 未加载
KaiserProover 4 years ago
I have no issues with BTRFS, apart from the documentation is really poor.<p>I don&#x27;t mind it becoming popular, but please for the love of $Deity can we please make the docs as good as ZFS. I will contribute cash if needs be.<p>Facebook are utterly shit at documenting things, so yes it might work for their usecase, but they essentially store knowledge through Shamanism, which is terrible unless you&#x27;re inducted into the world of the spirits.
评论 #24260460 未加载
评论 #24258870 未加载
noodlesUKover 4 years ago
It’s funny that fedora is moving to supporting btrfs as the default FS, when red hat has stopped supporting it altogether. I’m a big fan. In a world where we can’t have GPL compatible ZFS, btrfs is the next best thing.
AdmiralAsshatover 4 years ago
There&#x27;s probably no way to convert the legacy ext4+LUKS filesystem over, so, I guess I&#x27;ll decide when F33 comes out whether I want BTRFS enough to do a clean install rather than an upgrade.
评论 #24260276 未加载
flas9sdover 4 years ago
&gt; The switch to Btrfs will use a single-partition disk layout, and Btrfs’ built-in volume management. The previous default layout placed constraints on disk usage that can be a difficult adjustment for novice users. Btrfs solves this problem by avoiding it.<p>good call, subvolumes came to the rescue of the &#x2F;home partitioning. It&#x27;s useful, but the inflexibility was in the proper split of available disk space. Novice users then saw warnings for &#x2F;home - when there was still plenty of space on the root partition.
48bb-9a7e-dc4f2over 4 years ago
It&#x27;s painful to see how much disinformation (even in subtle ways or to go off the rails) some topics are getting in here.<p>If you want to get a better picture, also about Zfs and Fedora, read the previous Btrfs threads where the developers took the time to discuss it. And to kill some FUD.<p>I have no association with Btrfs or Fedora but I&#x27;d like to have a modern FS in-tree as battle tested as it can be.
kev009over 4 years ago
Surprising, I thought RH had drawn pretty clear lines in the sand in favor of evolving XFS to be the universal disk FS for Linux.
knorkerover 4 years ago
Is btrfs still super slow at deleting large files?<p>It can take multiple seconds (like 5-10) on my fileserver to delete just one ~10GB file.
评论 #24258939 未加载
评论 #24263637 未加载
评论 #24259209 未加载
kevin_b_erover 4 years ago
So how long until systemd-somethingmajor requires btrfs?
znpyover 4 years ago
I just herd my roommate saying &quot;i don&#x27;t want to play too much with my amd cpu overclocking because if i crash my system too much btrfs might get corrputed again&quot;.<p><i>laughs in zfs</i>
评论 #24258926 未加载