Convert data blocks to raid1, skipping already converted chunks (e.g. after a previous cancelled conversion operation)

btrfs balance

  • Balance block groups on a btrfs filesystem.
    More information: <https://btrfs.readthedocs.io/en/latest/btrfs-balance.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo btrfs balance start -dconvert={{raid1}},soft {{path/to/btrfs_filesystem}}

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