Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] gentoo on raid install Arnau Bria <arnau@×××××××××.net>
Re: [gentoo-user] gentoo on raid install [SOLVED] Arnau Bria <arnau@×××××××××.net>