Sunday, November 22, 2009

SparesMissing event on /dev/md0:server1

If you are getting emails from mdadm, like the one below:


This is an automatically generated mail message from mdadm
running on server1

A SparesMissing event had been detected on md device /dev/md0.

Faithfully yours, etc.

P.S. The /proc/mdstat file currently contains the following:

Personalities : [raid1]
md0 : active raid1 hda1[0] hdc1[1]
117788480 blocks [2/2] [UU]

unused devices:



the solution to the problem was to edit /etc/mdadm/mdadm.conf, and change spares=1 to spares=0