linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Mike Viau <viaum@sheridanc.on.ca>
Cc: linux-raid@vger.kernel.org, debian-user@lists.debian.org
Subject: Re: How to recreate a dmraid RAID array with mdadm
Date: Thu, 18 Nov 2010 11:11:49 +1100	[thread overview]
Message-ID: <20101118111149.7b5004a2@notabene.brown> (raw)
In-Reply-To: <BAY148-w18A88E7D84CE0213B44F26EF380@phx.gbl>

On Wed, 17 Nov 2010 17:36:23 -0500
Mike Viau <viaum@sheridanc.on.ca> wrote:

> 
> > On Wed, 17 Nov 2010 14:15:14 +1100 <neilb@suse.de> wrote:
> >
> > This looks wrong. mdadm should be looking for the container as listed in
> > mdadm.conf and it should find a matching uuid on sda and sdb, but it doesn't.
> >
> > Can you:
> >
> > mdadm -E /dev/sda /dev/sdb ; cat /etc/mdadm/mdadm.conf
> >
> > so I can compare the uuids?
> >
> 
> Sure.
> 
> # definitions of existing MD arrays ( So you don't have to scroll down :P )
> 
> 
> ARRAY metadata=imsm UUID=084b969a:0808f5b8:6c784fb7:62659383
> 
> ARRAY /dev/md/OneTB-RAID1-PV container=084b969a:0808f5b8:6c784fb7:62659383 member=0 UUID=ae4a1598:72267ed7:3b34867b:9c56497a
> 
....
>            UUID : 084b969a:0808f5b8:6c784fb7:62659383
> [OneTB-RAID1-PV]:
>            UUID : ae4a1598:72267ed7:3b34867b:9c56497a
....
> # definitions of existing MD arrays
> ARRAY metadata=imsm UUID=084b969a:0808f5b8:6c784fb7:62659383
> ARRAY /dev/md/OneTB-RAID1-PV container=084b969a:0808f5b8:6c784fb7:62659383 member=0 UUID=ae4a1598:72267ed7:3b34867b:9c56497a

Yes, the uuids are definitely all correct.
This really should work.  I just tested a similar config and it worked
exactly as exported.
Weird.

Whatever version of mdadm are you running???
Can you try getting the latest (3.1.4) from
     http://www.kernel.org/pub/linux/utils/raid/mdadm/

and see how that works.
Just
    make
    ./mdadm -Asvv

NeilBrown
--
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

  reply	other threads:[~2010-11-18  0:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17  2:44 How to recreate a dmraid RAID array with mdadm (was: no subject) Mike Viau
2010-11-17  3:15 ` Neil Brown
2010-11-17 22:36   ` How to recreate a dmraid RAID array with mdadm Mike Viau
2010-11-18  0:11     ` Neil Brown [this message]
2010-11-18  0:56       ` Mike Viau
2010-11-18  1:28         ` Neil Brown
2010-11-18  2:05           ` Mike Viau
2010-11-18  2:32             ` Neil Brown
2010-11-18  3:03               ` Mike Viau
2010-11-18  3:17                 ` Neil Brown
2010-11-18  5:10                   ` Mike Viau
2010-11-18  5:38                     ` Neil Brown
2010-11-22 18:07                       ` Mike Viau
2010-11-22 23:11                         ` Neil Brown
  -- strict thread matches above, loose matches on Subject: below --
2010-11-23 16:07 Mike Viau

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=20101118111149.7b5004a2@notabene.brown \
    --to=neilb@suse.de \
    --cc=debian-user@lists.debian.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=viaum@sheridanc.on.ca \
    /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).