From: Dave Jiang <djiang@mvista.com>
To: AndyLiebman@aol.com
Cc: linux-raid@vger.kernel.org
Subject: Re: udev and mdadm -- I'm lost
Date: Tue, 08 Nov 2005 16:40:23 -0700 [thread overview]
Message-ID: <43713767.1060602@mvista.com> (raw)
In-Reply-To: <1b9.203c2461.30a28d17@aol.com>
AndyLiebman@aol.com 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
------------------------------------------------------
next prev parent reply other threads:[~2005-11-08 23:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-08 23:21 udev and mdadm -- I'm lost AndyLiebman
2005-11-08 23:39 ` Sandro Dentella
2005-11-08 23:40 ` Dave Jiang [this message]
2005-11-09 7:57 ` Konstantin Olchanski
2005-11-16 17:38 ` Bill Davidsen
-- strict thread matches above, loose matches on Subject: below --
2005-11-08 23:50 AndyLiebman
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=43713767.1060602@mvista.com \
--to=djiang@mvista.com \
--cc=AndyLiebman@aol.com \
--cc=linux-raid@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).