Re: import existing intel array

Re: import existing intel array

am 04.06.2009 00:43:38 von NeilBrown

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