From: Neil Brown <neilb@cse.unsw.edu.au>
To: Ken Causey <ken@ineffable.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Can't figure out how to use mdadm in initrd
Date: Sat, 29 Jun 2002 03:18:12 +1000 (EST) [thread overview]
Message-ID: <15644.39508.634914.468355@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from Ken Causey on June 28
On June 28, ken@ineffable.com wrote:
> > >
> > > set "/dev/md2"
> > > [ -b "$1" ] || set "/dev/md/2"
> > > mdadm --assemble --run --scan "$1"
> >
> > This bit of code is silly. If it chooses "/dev/md/2", then it
> > won't find a match in /etc/mdadm/mdadm.conf and wont do anything
> > useful.
> > Why not just:
> > mdadm --assemble --scan
>
> I understand that it may seem silly, but it makes plenty of sense when
> you consider that it is generated by mkinitrd which is ended to be of
> general use. Unfortunately you are seeing this out of context as this
> script is told whether or not devfs is in use or not.
I gather the mdadm.conf is also autogenerated to make... fair enough then.
>
> I don't need --run? The man page seems to imply that --run is needed if
> you want to start a degraded array.
--run is only needed when starting things "manually". In this context
--scan implied --run.
NeilBrown
prev parent reply other threads:[~2002-06-28 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-28 14:45 Can't figure out how to use mdadm in initrd Ken Causey
2002-06-28 14:58 ` Neil Brown
2002-06-28 16:36 ` Ken Causey
2002-06-28 17:18 ` Neil Brown [this message]
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=15644.39508.634914.468355@notabene.cse.unsw.edu.au \
--to=neilb@cse.unsw.edu.au \
--cc=ken@ineffable.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).