Debian 8: mdadm mail test problem
Posted: Mon Feb 20, 2017 1:43 am
[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:
But in my case it replies:
[SOLUTION]
The command was wrong.
Use this one instead:
Another mystery solved!
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
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