Howto RAID scrubbing?

  • I have a standard RAID5 setup and would like to know how I can run a scheduled scrubbing.

    I'd use cron for that, but don't know the command.

    I read that some years ago there was a planned scrubbing built-in every 4 weeks or so.

    I guess that is not the case anymore?

  • Good to know. It is still there. Every first Sunday of the month. Very nice

    57 0 * * 0 root if [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ]; then /usr/share/mdadm/checkarray --cron --all --idle --quiet; fi

    Would have been nice to find that anywhere in the GUI though.

    Is it ok to edit that file directly or how would you change the plan?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!