linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Johnson Yan <johnson_yan@usish.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm v3.1.3 spare group does not work
Date: Tue, 8 May 2012 12:20:29 +1000	[thread overview]
Message-ID: <20120508122029.62488da5@notabene.brown> (raw)
In-Reply-To: <002b01cd2cbd$fd6ea3a0$f84beae0$@com>

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

On Tue, 8 May 2012 09:57:57 +0800 "Johnson Yan" <johnson_yan@usish.com> wrote:

> Hi,
> When I use mdadm v3.1.3, seems the spare group function can’t work. As I
> remember, this function in mdadm 2.6.5 works well.

Can you try mdadm 3.2.3 please (or is that what you meant?).
Better still, try the current git version:

  git clone git://github.com/neilbrown/mdadm
  cd mdadm
  make
  make install

Thanks,
NeilBrown

> 
> 
> Here is some info from /etc/mdadm.conf
> …
> ARRAY /dev/md0 level=raid1 spare-group=test11
> ARRAY /dev/md1 level=raid1 spare-group=test11
> …
> 
> 
> And mdmonitor service is in running status:
> [root@localhost tmp]# ps aux |grep mdadm
> root      1794  0.0  0.0   6852   760 ?        Ss   16:52   0:00 mdadm -F -y
> -f -s -i /var/run/mdadm/mdadm.pid --delay=10
> 
> There is one spare disk in md0, and no spare in md1, if I fail the member
> disk in md1, the spare in md0 won’t migrate into md1.
> 
> Thank you very much.
> 
> Regards,
> Johnson Yan
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

  reply	other threads:[~2012-05-08  2:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-08  1:57 mdadm v3.1.3 spare group does not work Johnson Yan
2012-05-08  2:20 ` NeilBrown [this message]
2012-05-08  3:05   ` Johnson Yan
2012-05-08  3:42   ` Johnson Yan
2012-05-08  9:53   ` Johnson Yan
2012-05-08 10:05     ` NeilBrown

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=20120508122029.62488da5@notabene.brown \
    --to=neilb@suse.de \
    --cc=johnson_yan@usish.com \
    --cc=linux-raid@vger.kernel.org \
    /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).