Does an mdadm RAID 1 get checked automatically, or do I need to schedule a weekly check?
By Gabriel Cooper •
I have mdadm setup to email on the event of it detecting an error on the RAID 1 array I have.
What I cannot find anywhere is if I need to schedule a check to run weekly, or if mdadm will automatically pick up that a drive is failing and notify me.
Has anyone experience with this or can point me in the correct direction?
I also have another RAID 5 array that I could ask the same question about.
21 Answer
Speaking for at least mdadm RAID-5 arrays, a recheck gets scheduled for the first Sunday of every month. You can do sudo systemctl list-timers mdcheck_start to confirm that it is scheduled to launch.