btrfs scrub start PATHcheck errors with
dmesg --follow | grep --line-buffered "checksum error at" >> checksum_errors.txtsee progress
while true; do clear; btrfs scrub status PATH; sleep 30; donebtrfs 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