public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: Hermann Gausterer <nail-brown-mdadm-question@mrq1.org>
Cc: linux-raid@vger.kernel.org
Subject: Re: import existing intel array
Date: Thu, 4 Jun 2009 08:43:38 +1000	[thread overview]
Message-ID: <18982.64666.532101.651635@notabene.brown> (raw)
In-Reply-To: message from Hermann Gausterer on Wednesday June 3

On Wednesday June 3, nail-brown-mdadm-question@mrq1.org wrote:
> hi neil

Hi.
 I've taken the liberty of adding Cc: to linux-raid@vger.kernel.org

> 
> your mdadm 3.0 release is great work!

Thanks.

> 
> what are the commands for accessing a existing
> (windows created) intel ichX raid array?
> 
> i think this is a common use case ..
> 
> can you help me?

I would start with

# mdadm -Es

which should show something vaguely like:

ARRAY metadata=imsm auto=md UUID=8a73e835:3019890d:4f976c0c:eafd8c7e
ARRAY /dev/md/r1 container=8a73e835:3019890d:4f976c0c:eafd8c7e
   member=0 UUID=bede01d9:b40a5dbc:ea37b919:68a0005c

That confirms that there is an imsm array there.  In my case there is
one member array in the container - it is called 'r1'.

Now you can assemble the container using:

# mdadm -A /dev/md/imsm0 --uuid=8a73e835:3019890d:4f976c0c:eafd8c7e

and then assemble all the arrays in the container using

# mdadm -I /dev/md/imsm0

If you are happy with this, you can put the output of "-Es" in
mdadm.conf and them
# mdadm -As

should assemble it all automatically.

Please report any interesting experiences.

Thanks,
NeilBrown

           reply	other threads:[~2009-06-03 22:43 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20090603143038.GA11045@mrq1.org>]

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=18982.64666.532101.651635@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=nail-brown-mdadm-question@mrq1.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