On Mon, Jun 28, 2004 at 12:01:19AM +1000, Bradley Baetz wrote: > If theres no spares= option in mdadm.conf, then spare_disks gets set to > UnSet, and --monitor sends a SparesMissing event because there are less > than 65534 spare disks available. > > Attached patch defaults this to 0, which matches both the --detail --brief > output, and the docs from ANNOUNCE-1.4.0. OK, so it helps if I actually attach the patch... Bradley
--- config.c.orig Sun Jun 27 23:55:57 2004 +++ config.c Sun Jun 27 23:58:21 2004 @@ -270,7 +270,7 @@ mis.super_minor = UnSet; mis.level = UnSet; mis.raid_disks = UnSet; - mis.spare_disks = UnSet; + mis.spare_disks = 0; mis.devices = NULL; mis.devname = NULL; mis.spare_group = NULL;