zsh-btrfs-balance
April 19, 2026 · View on GitHub
zsh-btrfs-balance
Oh My Zsh plugin for Btrfs balance management on openSUSE Tumbleweed.
Part of the zsh-manager ecosystem.
Commands
| Command | Description |
|---|---|
btrfs-balance [dusage] [musage] | Start balance with configurable thresholds (default: 50% / 50%) |
btrfs-balance-threshold [pct] | Conditional balance — only runs if disk usage exceeds threshold (default: 75%) |
btrfs-balance-status | Show current balance status on / |
btrfs-balance-pause | Pause an ongoing balance on / |
btrfs-balance-resume | Resume a paused balance on / |
btrfs-balance-cancel | Cancel an ongoing balance on / |
Installation
git clone https://github.com/crisis1er/zsh-btrfs-balance \
${ZSH_CUSTOM:-/home/crisis/.oh-my-zsh/custom}/plugins/btrfs-balance
Add to plugins=() in ~/.zshrc:
plugins=(... btrfs-balance)
Reload:
source /home/crisis/.zshrc
Requirements
- openSUSE Tumbleweed
- Oh My Zsh
- btrfs-progs
License
GPL-3.0 — see LICENSE