Display detailed per-disk allocation statistics

btrfs device

  • Manage devices in a btrfs filesystem.
    More information: <https://btrfs.readthedocs.io/en/latest/btrfs-device.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo btrfs device usage {{path/to/btrfs_filesystem}}

click the source code to copy install btrfs device on any operating system with command-not-found.com