zsh-btrfs-balance

April 19, 2026 · View on GitHub

Visitors Platform Shell OMZ License Version

zsh-btrfs-balance

Oh My Zsh plugin for Btrfs balance management on openSUSE Tumbleweed.

Part of the zsh-manager ecosystem.


Commands

CommandDescription
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-statusShow current balance status on /
btrfs-balance-pausePause an ongoing balance on /
btrfs-balance-resumeResume a paused balance on /
btrfs-balance-cancelCancel 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