I recently had a server outage due to a failed drive. Because of that I set up the server with a new SSD in RAID1 this time but until I managed to get another SSD drive the mdadm-based RAID1 runs with only 1 device and is in degraded mode. (I know that it’s not any safer right now, but this is only for preparation!) There is no failed device and the RAID1 is in the expected state. So I don’t want to get bothered with these e-mails.
How can I specifically disable warnings for that particular RAID device being “degraded”?
The warning is sent by mdadm monitoring to the root
of the system. Once every day, I think.
This is an automatically generated mail message from mdadm
running on MY_HOSTNAME
A DegradedArray event had been detected on md device /dev/md/0.
Faithfully yours, etc.
P.S. The /proc/mdstat file currently contains the following:
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sda2[0]
156011520 blocks super 1.2 [2/1] [U_]
bitmap: 2/2 pages [8KB], 65536KB chunk
md0 : active raid1 sda1[0]
144384 blocks super 1.2 [2/1] [U_]
unused devices: <none>