Gentoo Archives: gentoo-user

From: Qiangning Hong <hongqn@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] RAID 10 help
Date: Sun, 30 Oct 2005 05:48:53
Message-Id: 43645D60.7010003@gmail.com
In Reply to: Re: [gentoo-user] RAID 10 help by "A. Khattri"
1 A. Khattri wrote:
2 > On Sun, 30 Oct 2005, Qiangning Hong wrote:
3 >
4 >
5 >>As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
6 >>to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.
7 >>
8 >>Then I want both my / and /var are RAID10. I use the following schema:
9 >>
10 >>/dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3
11 >> | | | |
12 >> +--(RAID1)---+ +---(RAID1)--+
13 >> | |
14 >> /dev/md3 /dev/md4
15 >> | |
16 >> +---------(RAID0)----------+
17 >> |
18 >> /dev/md5
19 >>
20 >>and mount /dev/md5 as /. The same as /dev/sd[abcd]4 for a /dev/md8 as /var.
21 >>
22 >>After mkraid, I followed the Gentoo Handbook and installed system, build
23 >>all RAID and driver mapping options into kernel. But after reboot,
24 >>kernel panic! The error message says it can not mount / on /dev/md5
25 >>because it doesn't exist.
26 >
27 >
28 > Is RAID support in your kernel?
29
30 Yes, I compiled in (not as module) all the options under "Device Driver
31 --> Multi-device support (RAID and LVM)"
32
33 > Did you use mdadm to make the arrays?
34
35 No, I create /etc/raidtab by hand and run mkraid for each md device,
36 following the steps of
37 http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
38
39
40 --
41 Qiangning Hong
42 http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
43
44 Registered Linux User #396996
45 Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=1>
46 Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=67907&t=183>
47 --
48 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] RAID 10 help Mike Williams <mike@××××××××.uk>