[CentOS] Centos´s way of handling mdadm

Wed Jan 24 19:37:44 UTC 2018
Leon Fauster <leonfauster at googlemail.com>

> Am 24.01.2018 um 19:17 schrieb hw <hw at adminart.net>:
> Hi,
> what´s the proposed way of handling mdadm in Centos 7?  I did not get
> any notification when a disk in a RAID1 failed, and now that the
> configuration has changed after resolving the problem, I might be
> supposed to somehow update /etc/mdadm.conf.
> Am I not supposed to be notified by default when something goes wrong
> with an array?  How do I update /etc/mdadm.conf?

mdadm --detail --scan >> /etc/mdadm.conf.new

> I´m used to all this working automagically.

man mdadm (check MAILADDR and MAILFROM)