[lkml]   [2002]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectAutostart RAID 1+0 (root)

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


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

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

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

Does the kernel support autostarting nested RAID partitions?

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

Any ideas?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:15    [W:0.101 / U:4.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site