Zeitvergleich eines BTRFS Scrubs von einem RAID1 auf einer M.2 SSD (2x 1TB, belegt ca. 750GB) zu einem RAID1 auf einer klassichen Festplatte (2x 6TB, belegt ca. 4TB)…

2x 1TB M.2 SSD

$ sudo btrfs scrub start -Bq /
$ sudo btrfs scrub status /
UUID:             d1321103-2eb1-4be4-af55-123456789ab
Scrub started:    Mon Jul 19 19:50:43 2021
Status:           finished
Duration:         0:02:17
Total to scrub:   1.46TiB
Rate:             10.90GiB/s
Error summary:    no errors found

2x 6TB HDD

$ sudo btrfs scrub start -B /data
scrub done for 0dc8b626-0def-400f-b69b-123456789ab
Scrub started:    Mon Jul 19 19:54:50 2021
Status:           finished
Duration:         3:18:59
Total to scrub:   4.13TiB
Rate:             357.94MiB/s
Error summary:    no errors found
$ sudo btrfs scrub status /data
UUID:             0dc8b626-0def-400f-b69b-123456789ab
Scrub started:    Mon Jul 19 19:54:50 2021
Status:           running
Duration:         0:21:23
Time left:        3:00:24
ETA:              Mon Jul 19 23:19:37 2021
Total to scrub:   4.08TiB
Bytes scrubbed:   442.25GiB  (10.60%)
Rate:             352.98MiB/s
Error summary:    no errors found
$ sudo btrfs scrub status /data
UUID:             0dc8b626-0def-400f-b69b-123456789ab
Scrub started:    Mon Jul 19 19:54:50 2021
Status:           finished
Duration:         3:18:59
Total to scrub:   4.08TiB
Rate:             357.94MiB/s
Error summary:    no errors found

systemd Timer einrichten

systemd-escape -p /
sudo systemctl enable btrfs-scrub@-.timer
sudo systemctl start btrfs-scrub@-.timer

systemd-escape -p /some/strange/path/data@hdd
sudo systemctl enable btrfs-scrub@some-strange-path-data\x40hdd.timer
sudo systemctl start btrfs-scrub@some-strange-path-data\x40hdd.timer