this post was submitted on 23 Nov 2026
57 points (100.0% liked)
Linux Gaming
28569 readers
205 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
No memes/shitposts/low-effort posts, please.
That includes posts generated by LLMs. It doesn’t matter if you “don’t have the time” or “would’ve written the same anyway”, or if “everyone’s doing it geez get with the times”.
For now it’ll also include “AI”-assisted projects that haven't had at least two months of (public, verifiable) dev time behind them.
Resources
Help:
- ProtonDB
- Are We Anticheat Yet?
- r/linux_gaming FAQ
- Fork of an earlier version of the above
- PCGamingWiki
- LibreGameWiki
Launchers/Game Library Managers:
General:
Discord:
IRC:
Matrix:
Telegram:
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What regular maintenance does btrfs need?
Once a month, you need to run a scrub:
sudo btrfs scrub start /mountpointIt's very IO intensive, but it runs in the background with a very low priority. You can check the status of it:
sudo btrfs scrub status /mountpointAlso, because of how it works (chunking copy-on-write FS), every time data gets deleted, you end up with a little bit of empty space inside each chunk. This can result in a filesystem with 200gb of free space only showing >1gb (or worse: no free space!). To fix this, you need to run a balancing command across chunks of varying sizes:
Basically, you want a number of commands running regularly via cron or systemd timers as root to keep things running smoothly or you're going to be in for a world of hurt.
I have a single script that runs via cron once a week that takes care of everything in the middle of the night on Monday morning (2AM I think) on all my hosts using btrfs. I'd share it but I'm not at home right now. Just ask AI to find or generate one for you and I'm sure it'll be fine since that's a very, very common thing.
What do you mean 50% or 30% full? Also is there like a risk with scrub or balancing, like it may delete something or is it safe as hell.
Thanks, I knew about scrub but not balance! Should that be run regularly or just when you're short on space?
Run it regularly. Like once a week