Synology – Automate Data Scrubs

Last Updated: April 28th, 2018/Published On: June 30th, 2016/By /Views: 2596/

Control Panel > Task Scheduler > Create > RAID Scrubbing > Define/Save

 

Legacy Solution:

  1. Login
  2. Go to Control Panel > Task Scheduler
  3. Click Create > Scheduled Task > User-Defined-Script
  4. Under General: Name Task and set user to root
  5. Under Schedule: Configure as desired (once/week/month should be enough)
  6. 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

Categories: Blog, Product Specific

Table of Contents