linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Tobias Gunkel <tobias.gunkel@qumido.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: weird SparesMissing event
Date: Wed, 11 Aug 2010 17:57:11 +1000	[thread overview]
Message-ID: <20100811175711.40cb75c9@notabene> (raw)
In-Reply-To: <4C624B80.9030304@qumido.de>

On Wed, 11 Aug 2010 09:04:32 +0200
Tobias Gunkel <tobias.gunkel@qumido.de> wrote:

> Hello everyone,
> 
> I've got a strange SparesMissing event on one of my raid1 arrays.
> mdadm --detail /dev/md2 says all ok, but I get this message by mdadm
> monitor every day:
> 
> A SparesMissing event had been detected on md device /dev/md2.

This means that /etc/mdadm/mdadm.conf says /dev/md2 has more spare devices
than it currently has.  What is in /etc/mdadm/mdadm.conf



> This makes me wonder, too:
> 
> root@MCI03:~# mdadm --examine --scan
> ARRAY /dev/md0 UUID=304f5f2a:fbc8082b:54307b3d:1949437b
>    spares=1
> ARRAY /dev/md1 UUID=b263f9c1:5c680152:54307b3d:1949437b
>    spares=1
> ARRAY /dev/md2 UUID=7aa24776:9d6e8d24:54307b3d:1949437b
>    spares=2
> 
> Why spares=2 for md2? It was created during Debian system install with
> spares=1.

What do you get if you run

 mdadm --examine --scan --verbose

it should add a 'devices=' line which will show you which devices it is
counting.

NeilBrown

  reply	other threads:[~2010-08-11  7:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11  7:04 weird SparesMissing event Tobias Gunkel
2010-08-11  7:57 ` Neil Brown [this message]
2010-08-11  9:46   ` Tobias Gunkel
2010-08-11 11:09     ` Neil Brown
2010-08-12  7:57       ` Tobias Gunkel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100811175711.40cb75c9@notabene \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=tobias.gunkel@qumido.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).