All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: linux-raid@vger.kernel.org
Subject: Re: BSD disklabel and autodetection
Date: Mon, 29 Jul 2002 12:53:42 +0400	[thread overview]
Message-ID: <3D450296.9B9D9961@tls.msk.ru> (raw)
In-Reply-To: Pine.LNX.4.32.0207261708230.1091-100000@dope.pingdynasty.com

martin@hack.org wrote:
> 
[]
> following some hints i've seen elsewhere on the list i tried to pass md
> parameters to the kernel ->
> 
> Booting on Nautilus using machine vector Nautilus from SRM
> Command line: ro root=/dev/md1 md=1,/dev/sdb5,/dev/sdc2,/dev/sdd2 raid=noautodetect
> md: Will configure md1 (super-block) from /dev/sdb5,/dev/sdc2,/dev/sdd2, below.
> 
> with the raid=noautodetect option it works.
> 
> what other raid/md options can be passed this way? and how do i configure
> more than one device? geez, hope there's not a 256 char limit to the
> command line...

You may use md=N,dev1,dev2,... option as many times as you want, i.e.

 linux root=... md,1=/dev/sda1,.. md=2,/dev/sda2,...

I think that it's sufficient to tell it about only ONE member of
an array this way if your raid device has persistent superblock
(kernel will read superblock from first disk (or second for that
matter - if you choose to tell it about second disk) and read
other devices from there).

About other options - there are only two, raid= (e.g. noautodetect)
and md= (above) that are raid-related.

> are these options documented somewhere??

I personally looked at sources in drivers/md/ directory and got the
above line by reading initialization functions.  Maybe it's documented
somewhere in Documentation/... ;)

/mjt

  reply	other threads:[~2002-07-29  8:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-26 17:09 BSD disklabel and autodetection martin
2002-07-29  8:53 ` Michael Tokarev [this message]
2002-07-29 10:13   ` Neil Brown
2002-07-29 15:50     ` md device stuck! martin
2002-07-30 23:16       ` Neil Brown
2002-07-31 10:41         ` martin
  -- strict thread matches above, loose matches on Subject: below --
2002-07-23 14:04 BSD disklabel and autodetection martin
2002-07-23 13:27 ` Hein Roehrig
2002-07-24  9:09   ` martin

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=3D450296.9B9D9961@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.