A. Khattri wrote:
> On Sun, 30 Oct 2005, Qiangning Hong wrote:
> 
> 
>>As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
>>to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.
>>
>>Then I want both my / and /var are RAID10.  I use the following schema:
>>
>>/dev/sda3    /dev/sdb3    /dev/sdc3    /dev/sdd3
>>    |            |            |            |
>>    +--(RAID1)---+            +---(RAID1)--+
>>          |                          |
>>       /dev/md3                   /dev/md4
>>          |                          |
>>          +---------(RAID0)----------+
>>                       |
>>                    /dev/md5
>>
>>and mount /dev/md5 as /.  The same as /dev/sd[abcd]4 for a /dev/md8 as /var.
>>
>>After mkraid, I followed the Gentoo Handbook and installed system, build
>>all RAID and driver mapping options into kernel.  But after reboot,
>>kernel panic!  The error message says it can not mount / on /dev/md5
>>because it doesn't exist.
> 
> 
> Is RAID support in your kernel?

Yes, I compiled in (not as module) all the options under "Device Driver
--> Multi-device support (RAID and LVM)"

> Did you use mdadm to make the arrays?

No, I create /etc/raidtab by hand and run mkraid for each md device,
following the steps of
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID


-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>
-- 
gentoo-user@gentoo.org mailing list

Reply via email to