Fawkes Notes

Scheduling Quiet ZFS and Btrfs Scrubs

Checksums only catch silent block corruption when data blocks are actually read back. Periodic scrubs handle that verification, though running a full-speed scrub during daytime workloads can starve latency-sensitive services on shared disks.

Throttling Background Verification

On Btrfs volumes, lowering I/O priority with ionice -c 3 keeps the scrub in the idle scheduling class so normal reads and writes take precedence. On ZFS pools, tuning zfs_scrub_delay or scheduling via monthly systemd timers prevents overlap with backup windows.

systemd-run --unit=btrfs-scrub-idle \
  ionice -c 3 btrfs scrub start -Bd /srv/data

Pairing monthly scrubs with SMART short tests on a staggered schedule gives early warning of degrading media without saturating limited cloud block-storage IOPS.