Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Errormessage from mdadm at boot
Date: Sun, 03 Sep 2006 11:14:25
Message-Id: 200609031308.08685.Dan.Johansson@dmj.nu
In Reply to: Re: [gentoo-user] Errormessage from mdadm at boot by Justin Piszcz
1 On Sunday 03 September 2006 12:29, Justin Piszcz wrote:
2 > On Sun, 3 Sep 2006, Dan Johansson wrote:
3 > > As dmraid is hard masked and it's future doesn't look to bright I have
4 > > decided to give software raid a try
5 > > (http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml). Everything
6 > > works fine with one exception, when I boot the system I'm getting the
7 > > following error:
8 > > Starting up RAID devices (mdadm)
9 > > mdadm: No arrays found in config file
10 > >
11 > > But the system comes up correctly. My /etc/mdadm.conf file contains the
12 > > following:
13 > > ARRAY /dev/md4 level=raid1 num-devices=2
14 > > UUID=f03ab886:29539a16:60351ac2:644491c6
15 > > ARRAY /dev/md3 level=raid1 num-devices=2
16 > > UUID=b4721e3b:7eab0b51:231a400e:3e228ff3
17 > > ARRAY /dev/md2 level=raid1 num-devices=2
18 > > UUID=b660191e:81583b46:491c57c8:2ebb62b2
19 > > ARRAY /dev/md1 level=raid1 num-devices=2
20 > > UUID=f3134895:0a4f292b:8b078635:1f67f091
21 > >
22 > > and cat /proc/mdstat gives:
23 > > Personalities : [raid1]
24 > > md1 : active raid1 hdc1[1] hda1[0]
25 > > 32000 blocks [2/2] [UU]
26 > > md2 : active raid1 hdc2[1] hda2[0]
27 > > 505920 blocks [2/2] [UU]
28 > > md3 : active raid1 hdc3[1] hda3[0]
29 > > 497920 blocks [2/2] [UU]
30 > > md4 : active raid1 hdc4[1] hda4[0]
31 > > 79377088 blocks [2/2] [UU]
32 > > unused devices: <none>
33 > >
34 > > Any ideas why mdadm (mdadm -As) can not find my arrays at boot time.
35 > > --
36 >
37 > Is /etc/mdadm.conf the correct location? Debian uses
38 > /etc/mdadm/mdadm.conf. Are you using a special initrd/initramfs boot
39 > method?
40 /etc/mdadm.conf is there, I have even tried to copy it
41 to /etc/mdadm/mdadm.conf and the error is still there.
42 No initrd/iniramfs on this system.
43
44 --
45 Dan Johansson, <http://www.dmj.nu>
46 ***************************************************
47 This message is printed on 100% recycled electrons!
48 ***************************************************