btrfs scrub start PATH
check errors with
dmesg --follow | grep --line-buffered "checksum error at" >> checksum_errors.txt
see progress
while true; do clear; btrfs scrub status PATH; sleep 30; done
btrfs fi usage PATH
- FACTOR = Used / Device size * 100
- example: Used=4.46TiB and Device size=5.46TiB then FACTOR=81
btrfs balance start -dusage=FACTOR PATH &
- check balance status with
btrfs balance status -v PATH