Synology – Automate Data Scrubs
Control Panel > Task Scheduler > Create > RAID Scrubbing > Define/Save
Legacy Solution:
- Login
- Go to Control Panel > Task Scheduler
- Click Create > Scheduled Task > User-Defined-Script
- Under General: Name Task and set user to root
- Under Schedule: Configure as desired (once/week/month should be enough)
- Under Task Settings set e-mail so you know if it doesn’t run. If you want to get notified anytime it runs leave Send run details only when the script terminates abnormally unchecked. Paste the following info under Run Command and click OK:
#!/bin/sh
/bin/echo check > /sys/block/md0/md/sync_action
/bin/echo check > /sys/block/md1/md/sync_action
/bin/echo check > /sys/block/md2/md/sync_action