AndyLiebman@xxxxxxx wrote:
I see there is an mdadm --auto option now, but I don't feel confident I know
how to use it. Can someone tell me the correct way to create or assemble an
array with the --auto option?
i.e,
mdadm -Av -a1 --uuid=xxxxx /dev/sd*
or
mdadm -Av -a /dev/md1 --uuid=xxxxx /dev/sd*
I'm not in the mood to guess...
Thanks.
Andy Liebman
Just use --auto or --auto=yes and it should take care of the device node
creations. I have a /etc/mdadm.conf so I just do:
mdadm -As --auto=yes and it brings everything up over udev.
Although if you want to use the scan option with auto you may want to
use mdadm 1.12.0 or later as on some of the earlier version the
combination doesn't work.
--
------------------------------------------------------
Dave Jiang
Software Engineer, Carrier Grade Software
MontaVista Software, Inc.
http://www.mvista.com
------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html