Gentoo Archives: gentoo-user

From: Arnau Bria <arnau@×××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gentoo on raid install
Date: Wed, 14 Mar 2007 16:14:14
Message-Id: 20070314170330.2af22dda@pataki.bogus.net
1 Hi,
2
3 I'm doing a fresh 2006.1 install on a RAID 1.
4 I'm at the end of the install, and I'm having problems merging mdadm:
5
6 >>> Source unpacked.
7 >>> Compiling source in /var/tmp/portage/mdadm-2.6.1/work/mdadm-2.6.1 ...
8 i686-pc-linux-gnu-gcc -Wall -march=pentium4 -O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -c -o mdadm.o mdadm.c
9 /bin/sh: i686-pc-linux-gnu-gcc: command not found
10 make: *** [mdadm.o] Error 127
11
12 !!! ERROR: sys-fs/mdadm-2.6.1 failed.
13 Call stack:
14 ebuild.sh, line 1539: Called dyn_compile
15 ebuild.sh, line 939: Called src_compile
16 mdadm-2.6.1.ebuild, line 29: Called die
17
18 So, I start checking things, and first one is mdadm.conf:
19 # cat /etc/mdadm.conf
20 ARRAY /dev/md1 level=raid1 num-devices=2 UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5
21 ARRAY /dev/md2 level=raid1 num-devices=2 UUID=8b9f4d0c:69fa806c:2202b13b:91b36928
22
23 but when I do a mdadm -detail --scan I get next.
24 # mdadm --detail --scan
25 mdadm: Unknown keyword mdadm
26 mdadm: Unknown keyword mdadm
27 ARRAY /dev/md1 level=raid1 num-devices=2 UUID=8cee4c4f:4d4c24bd:cc5bee91:c83b42b5
28 ARRAY /dev/md2 level=raid1 num-devices=2 UUID=8b9f4d0c:69fa806c:2202b13b:91b36928
29
30 Which is not very nice...
31
32 From the chrrot env I see this:
33
34 # cat /proc/mdstat
35 Personalities : [raid1] [raid0] [raid5] [raid4]
36 md2 : active raid1 hdb2[1] hda2[0]
37 87883456 blocks [2/2] [UU]
38
39 md1 : active raid1 hdb1[1] hda1[0]
40 29302464 blocks [2/2] [UU]
41
42 And I think it's correct, but as I'm newbie with RAIDS, I don't know
43 what else I can look...
44
45 Coul someone help me with this install?
46
47 PS: My swap is out of the raid....
48
49 Cheers,
50 Arnau
51 --
52 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] gentoo on raid install Samir Faci <samir.list@×××××.com>