Debian 8: mdadm mail test problem

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

Debian 8: mdadm mail test problem

Post 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
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply