FollieHiyuki-dotfiles/system/etc/cron.weekly/btrfs-scrub
2021-06-13 07:37:06 +03:00

13 lines
188 B
Bash
Executable File

#!/bin/sh
# Repeate with btrfs-balance if using RAID
btrfs scrub start /
# Scrub 1 disk at a time
while btrfs scrub status / | grep running; do
sleep 20
done
btrfs scrub start /media