Checking software RAID arrays under Linux

Mostly as a reminder to myself… it’s important to have a cron job that verifies your RAID array integrity on a regular basis. (Once a week is what most hardware RAID controllers seem to use.)

This is accomplished with a command such as:

echo check > /sys/block/md0/md/sync_action

Replace md0 with the device name of your RAID array.

Happy RAIDing!