linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@cse.unsw.edu.au>
To: bo <bo@sosnetwork.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID detection and activation w/o auto detection
Date: Tue, 30 Apr 2002 13:31:22 +1000 (EST)	[thread overview]
Message-ID: <15566.4106.971348.1325@notabene.cse.unsw.edu.au> (raw)
In-Reply-To: message from bo on Monday April 29

On Monday April 29, bo@sosnetwork.net wrote:
> Hello,
> 
> How to detect and activate the RAID manually without 
> "auto detection"(0xFD in partition type)?
> 
> I tried with "mdadm -R" or "mdadm -A", but it did not work.

echo '/dev/hd* /dev/sd*' > /etc/mdadm.conf
mdadm -Dsb >> /etc/mdadm.conf

# look at /etc/mdadm.conf and make sure that it looks ok.

# add  "mdadm -As" to an appropriate startup script.

Note that this won't work for assembling the root filesystem.
To do that, you either need an init-ramdisk which runs "mdadm -As", or
use kernel parameters to start the root device.e.g.

  append="root=/dev/md0 md=0,/dev/hda1,/dev/hdc1"

NeilBrown

  reply	other threads:[~2002-04-30  3:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26  8:47 raid 5 question Marcus Schommer
2002-04-29  2:13 ` Jakob Østergaard
2002-04-29 15:43   ` bo
2002-04-29 15:56     ` Maurice Hilarius
2002-04-29 17:05   ` Derek Vadala
2002-04-30  2:27     ` RAID detection and activation w/o auto detection bo
2002-04-30  3:31       ` Neil Brown [this message]
2002-05-01  1:38         ` Mr. James W. Laferriere
2002-05-01  1:47           ` Mr. James W. Laferriere
2002-05-01  5:21             ` Neil Brown
2002-04-30 20:19     ` raid 5 question Jakob Østergaard
2002-04-30 21:08       ` Derek Vadala
  -- strict thread matches above, loose matches on Subject: below --
2002-05-01  6:20 RAID detection and activation w/o auto detection Yuval Yeret
2002-05-01  6:31 ` Neil Brown

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=15566.4106.971348.1325@notabene.cse.unsw.edu.au \
    --to=neilb@cse.unsw.edu.au \
    --cc=bo@sosnetwork.net \
    --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).