Page 1 of 1

Debian 8: mdadm mail test problem

Posted: Mon Feb 20, 2017 1:43 am
by ^rooker
[PROBLEM]
I've setup my /etc/mdadm/mdadm.conf to send mails to my email-address if problems with the SoftRAID occur.
According to documentation found online, the following command should cause mdadm to send a test e-mail:

Code: Select all

$ mdadm --monitor --scan --test
But in my case it replies:
mdadm: Only one autorebuild process allowed in scan mode, aborting
:(

[SOLUTION]
The command was wrong.
Use this one instead:

Code: Select all

$ mdadm --monitor --scan --test --oneshot
Another mystery solved! :D