mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Alok K. Dhir" <alok@dhir.net>
To: <linux-kernel@vger.kernel.org>
Subject: Autostart RAID 1+0 (root)
Date: Fri, 18 Jan 2002 11:40:55 -0500	[thread overview]
Message-ID: <001201c1a03e$e654acd0$9865fea9@pcsn630778> (raw)


Hey all - I may be trying to do the impossible here, but here goes:

I want to test using a software RAID 1+0 partition as root: md0 and md1
set up as mirrors between two disks each, and md2 set up as a stripe
between md0 and md1.  However, the RedHat 7.2 installer doesn't allow
creating nested RAID partitions.

Being stubborn, I installed the OS onto a separate 4 gig disk, installed
all the latest patches+fixes to the OS, including the RH2.4.9-13 kernel,
then created md0, md1, and md2.  I formatted md2 with reiserfs.  No
problem so far.

Next, I copied the entire contents of the root partition onto md2,
changed the relevant line of /boot/grub/grub.conf from:

	kernel /vmlinuz-2.4.9-13 ro root=/dev/sda2

To:

	kernel /vmlinuz-2.4.9-13 ro root=/dev/md2

Changed fstab so "/" points to /dev/md2 as well, crossed my fingers, and
rebooted.

No luck.  I get a "cannot mount root" error.

Attempting to speed read the boot messages before I get the panic, it
appears that md0 and md1 are autostarted, but it doesn't look like md2
is.

Does the kernel support autostarting nested RAID partitions?

Is doing software 1+0 a bad idea anyway due to performance issues?

Any ideas?

Thanks!


             reply	other threads:[~2002-01-18 16:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-18 16:40 Alok K. Dhir [this message]
2002-01-19  0:11 ` Tim Moore
2002-01-22 17:15 ` Bill Davidsen
2002-01-22 17:46   ` Jakob Østergaard
2002-01-22 18:07     ` Alok K. Dhir
2002-01-22 20:12     ` Bill Davidsen
2002-01-22 21:52       ` Jakob Østergaard

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='001201c1a03e$e654acd0$9865fea9@pcsn630778' \
    --to=alok@dhir.net \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®