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.

Scripts for Btrfs Maintenance

89 pointsby pantalaimonalmost 2 years ago

6 comments

EscapeFromNYalmost 2 years ago
Was I supposed to be maintaining my btrfs partition all this time? I just formatted my disk as btrfs when I bought my laptop and haven't thought about it since.
评论 #36221465 未加载
评论 #36220550 未加载
评论 #36220497 未加载
评论 #36220505 未加载
评论 #36225516 未加载
Locrinalmost 2 years ago
I have happily used BTRFS in Raid1 on my Plex server for a good while now. I originally had a chucked WD 8TB drive. I started dreading to rebuild my library if the drive failed. So I got a 8TB Seagate disk and created a Raid-1 setup with one drive missing. I then copied over the data and added the old disk to the new raid. It took a good while to balance itself but it's been problemfree since. I might use ZFS if I switch to Ubuntu for home server, but I am using Fedora now, and want to stick to what is natively supported.
DiabloD3almost 2 years ago
There is no reason to ever use btrfs, IMO.<p>btrfs is the result of Oracle trying to clone, badly, ZFS. When they bought Sun, they discontinued development on btrfs completely, as they (thought they) owned ZFS. Nobody sponsors btrfs development anymore, and its development has completely stagnated; while ZFS, under the OpenZFS project, continues to accelerate and absolutely dominates the enterprise mission critical file system sort of market.<p>Just use the real deal: use ZFS.<p>Due to the massive data loss issues with btrfs, for example, Redhat completely removed btrfs support in 8 entirely, after the preview feature in 7 bombed. They default to, and highly recommend, XFS (as do I, its a good file system).
评论 #36226123 未加载
评论 #36225611 未加载
评论 #36225987 未加载
评论 #36225661 未加载
seizedalmost 2 years ago
I just scrub my ZFS pools once in a while and that&#x27;s it... OpenIndiana autosnap is the rest of it which is built in. Then Monit to check pool health and alert me automatically.
eternityforestalmost 2 years ago
This does not exactly inspired confidence in BTRFS, if I need a script to maintain it.<p>I only use it for one thing, read only compressed lower layers. It&#x27;s great for that because it can be written to at setup time with standard tools, as opposed to some extra image compile step like true compressed read only FSes, but I wouldn&#x27;t use it for anything that gets written in normal use.
chasilalmost 2 years ago
Why is nobody mentioning?:<p><pre><code> btrfs fi defrag -r &#x2F; </code></pre> This is a recovery that ZFS cannot make.<p><a href="https:&#x2F;&#x2F;www.usenix.org&#x2F;system&#x2F;files&#x2F;login&#x2F;articles&#x2F;login_summer17_02_conway.pdf" rel="nofollow">https:&#x2F;&#x2F;www.usenix.org&#x2F;system&#x2F;files&#x2F;login&#x2F;articles&#x2F;login_sum...</a>
评论 #36221386 未加载
评论 #36221322 未加载
评论 #36221722 未加载