public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* Re: import existing intel array
       [not found] <20090603143038.GA11045@mrq1.org>
@ 2009-06-03 22:43 ` Neil Brown
  0 siblings, 0 replies; only message in thread
From: Neil Brown @ 2009-06-03 22:43 UTC (permalink / raw)
  To: Hermann Gausterer; +Cc: linux-raid

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-03 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20090603143038.GA11045@mrq1.org>
2009-06-03 22:43 ` import existing intel array Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox