1 |
On Wednesday 17 May 2006 05:47, Peter Humphrey <prh@××××××××××.uk> wrote |
2 |
about 'Re: [gentoo-amd64] How to install to a RAID set?': |
3 |
> Well, I tried the Software-RAID-HOWTO, and used a SuSE 9.3 DVD I had |
4 |
> lying around to create /dev/md0 to /dev/md5 on the /dev/sd[ab] disks |
5 |
> that are attached to the SATA interface. SuSE installed just fine and is |
6 |
> happy to run on these devices. |
7 |
|
8 |
Ah, very good, you are using pure software raid. Did you use raidtools or |
9 |
mdadm to create these devices? |
10 |
|
11 |
> In spite of that, when I boot the Gentoo 2006.0 installation CD and tell |
12 |
> it: |
13 |
> |
14 |
> gentoo dodmraid dmraid=-ay |
15 |
|
16 |
You don't need either of those options. dmraid is "firmware" raid, nor |
17 |
pure software raid. |
18 |
|
19 |
> It says in the boot sequence: |
20 |
> |
21 |
> Activating Device-Mapper RAID(s) |
22 |
> No RAID disks |
23 |
|
24 |
Sounds normal, since you didn't say you created any dmraid devices. |
25 |
|
26 |
> Then when the image has booted, I say fdisk -l and I see the partitions |
27 |
> on /dev/sda and /dev/sdb with no trace of /dev/mdX. |
28 |
> |
29 |
> What am I doing wrong? |
30 |
|
31 |
Probably nothing. If you used the (old, busted) raidtools way of creating |
32 |
the md devices, there's no metadata on the devices themselves that tells |
33 |
Gentoo the devices are part of a raidset. So, there's no way for Gentoo |
34 |
to create the /dev/mdX devices automatically. You should be able to grab |
35 |
your raidtab from your SuSE initrd/initramfs or / partition and activate |
36 |
the devices your self though. |
37 |
|
38 |
If you used the (new, hotness) mdadm way of creating the devices, well, |
39 |
Gentoo probably /should/ have automatically created the devices. You |
40 |
might want to file a bug. In the meantime, the booted image should |
41 |
contain mdadm and you should be able to use the "scan" and "assemble" (?) |
42 |
options to create your devices. |
43 |
|
44 |
-- |
45 |
"If there's one thing we've established over the years, |
46 |
it's that the vast majority of our users don't have the slightest |
47 |
clue what's best for them in terms of package stability." |
48 |
-- Gentoo Developer Ciaran McCreesh |