On Thu, 9 Mar 2006, Sean Puttergill wrote:

> Hi.
> 
> I am looking to script auto-assembly of all arrays
> detected on an arbitrary set of drives using mdadm.
> 
> The way I am thinking of doing this is as follows:
> 
> mdadm.conf =
> 
> DEVICE /dev/sd*

i prefer to use "DEVICE partitions"

> 1. Use "mdadm -E" on each drive in turn to get the
> UUID for the array to which it belongs and assemble a
> list of unique UUIDs.
> 
> 2. Run "mdadm -A --uuid=<UUID> --auto=md --scan" for
> each unique UUID.
> 
> 
> My question is, is it currently possible for me to get
> mdadm to do this automatically?

the man page has an example... it's just:

        mdadm --assemble --scan

-dean
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to