* [gentoo-user] Errormessage from mdadm at boot
@ 2006-09-03 10:17 Dan Johansson
2006-09-03 10:29 ` Justin Piszcz
2006-09-03 10:38 ` [gentoo-user] " Remy Blank
0 siblings, 2 replies; 5+ messages in thread
From: Dan Johansson @ 2006-09-03 10:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]
As dmraid is hard masked and it's future doesn't look to bright I have decided
to give software raid a try
(http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml). Everything works
fine with one exception, when I boot the system I'm getting the following
error:
Starting up RAID devices (mdadm)
mdadm: No arrays found in config file
But the system comes up correctly. My /etc/mdadm.conf file contains the
following:
ARRAY /dev/md4 level=raid1 num-devices=2
UUID=f03ab886:29539a16:60351ac2:644491c6
ARRAY /dev/md3 level=raid1 num-devices=2
UUID=b4721e3b:7eab0b51:231a400e:3e228ff3
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=b660191e:81583b46:491c57c8:2ebb62b2
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=f3134895:0a4f292b:8b078635:1f67f091
and cat /proc/mdstat gives:
Personalities : [raid1]
md1 : active raid1 hdc1[1] hda1[0]
32000 blocks [2/2] [UU]
md2 : active raid1 hdc2[1] hda2[0]
505920 blocks [2/2] [UU]
md3 : active raid1 hdc3[1] hda3[0]
497920 blocks [2/2] [UU]
md4 : active raid1 hdc4[1] hda4[0]
79377088 blocks [2/2] [UU]
unused devices: <none>
Any ideas why mdadm (mdadm -As) can not find my arrays at boot time.
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Errormessage from mdadm at boot
2006-09-03 10:17 [gentoo-user] Errormessage from mdadm at boot Dan Johansson
@ 2006-09-03 10:29 ` Justin Piszcz
2006-09-03 11:08 ` Dan Johansson
2006-09-03 10:38 ` [gentoo-user] " Remy Blank
1 sibling, 1 reply; 5+ messages in thread
From: Justin Piszcz @ 2006-09-03 10:29 UTC (permalink / raw
To: gentoo-user
On Sun, 3 Sep 2006, Dan Johansson wrote:
> As dmraid is hard masked and it's future doesn't look to bright I have decided
> to give software raid a try
> (http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml). Everything works
> fine with one exception, when I boot the system I'm getting the following
> error:
> Starting up RAID devices (mdadm)
> mdadm: No arrays found in config file
>
> But the system comes up correctly. My /etc/mdadm.conf file contains the
> following:
> ARRAY /dev/md4 level=raid1 num-devices=2
> UUID=f03ab886:29539a16:60351ac2:644491c6
> ARRAY /dev/md3 level=raid1 num-devices=2
> UUID=b4721e3b:7eab0b51:231a400e:3e228ff3
> ARRAY /dev/md2 level=raid1 num-devices=2
> UUID=b660191e:81583b46:491c57c8:2ebb62b2
> ARRAY /dev/md1 level=raid1 num-devices=2
> UUID=f3134895:0a4f292b:8b078635:1f67f091
>
> and cat /proc/mdstat gives:
> Personalities : [raid1]
> md1 : active raid1 hdc1[1] hda1[0]
> 32000 blocks [2/2] [UU]
> md2 : active raid1 hdc2[1] hda2[0]
> 505920 blocks [2/2] [UU]
> md3 : active raid1 hdc3[1] hda3[0]
> 497920 blocks [2/2] [UU]
> md4 : active raid1 hdc4[1] hda4[0]
> 79377088 blocks [2/2] [UU]
> unused devices: <none>
>
> Any ideas why mdadm (mdadm -As) can not find my arrays at boot time.
> --
> Dan Johansson, <http://www.dmj.nu>
> ***************************************************
> This message is printed on 100% recycled electrons!
> ***************************************************
>
Is /etc/mdadm.conf the correct location? Debian uses
/etc/mdadm/mdadm.conf. Are you using a special initrd/initramfs boot
method?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Errormessage from mdadm at boot
2006-09-03 10:17 [gentoo-user] Errormessage from mdadm at boot Dan Johansson
2006-09-03 10:29 ` Justin Piszcz
@ 2006-09-03 10:38 ` Remy Blank
2006-09-03 23:04 ` Neil Bothwick
1 sibling, 1 reply; 5+ messages in thread
From: Remy Blank @ 2006-09-03 10:38 UTC (permalink / raw
To: gentoo-user
Dan Johansson wrote:
> Everything works
> fine with one exception, when I boot the system I'm getting the following
> error:
> Starting up RAID devices (mdadm)
> mdadm: No arrays found in config file
(snip)
> Any ideas why mdadm (mdadm -As) can not find my arrays at boot time.
Actually, your arrays are probably found all right, but by the kernel
and not by mdadm. I have the same message here, but everything works well.
I guess you have set your raid partitions to "raid autodetect", and all
your partitions are detected by the kernel before the initialization
scripts even start. Then, when mdadm -As is called, it doesn't find any
*other* raid arrays to start and gives a (misleading) error message.
If your /proc/mdstat looks ok after booting, you can safely ignore the
message.
-- Remy
Remove underscore and suffix in reply address for a timely response.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Errormessage from mdadm at boot
2006-09-03 10:29 ` Justin Piszcz
@ 2006-09-03 11:08 ` Dan Johansson
0 siblings, 0 replies; 5+ messages in thread
From: Dan Johansson @ 2006-09-03 11:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1915 bytes --]
On Sunday 03 September 2006 12:29, Justin Piszcz wrote:
> On Sun, 3 Sep 2006, Dan Johansson wrote:
> > As dmraid is hard masked and it's future doesn't look to bright I have
> > decided to give software raid a try
> > (http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml). Everything
> > works fine with one exception, when I boot the system I'm getting the
> > following error:
> > Starting up RAID devices (mdadm)
> > mdadm: No arrays found in config file
> >
> > But the system comes up correctly. My /etc/mdadm.conf file contains the
> > following:
> > ARRAY /dev/md4 level=raid1 num-devices=2
> > UUID=f03ab886:29539a16:60351ac2:644491c6
> > ARRAY /dev/md3 level=raid1 num-devices=2
> > UUID=b4721e3b:7eab0b51:231a400e:3e228ff3
> > ARRAY /dev/md2 level=raid1 num-devices=2
> > UUID=b660191e:81583b46:491c57c8:2ebb62b2
> > ARRAY /dev/md1 level=raid1 num-devices=2
> > UUID=f3134895:0a4f292b:8b078635:1f67f091
> >
> > and cat /proc/mdstat gives:
> > Personalities : [raid1]
> > md1 : active raid1 hdc1[1] hda1[0]
> > 32000 blocks [2/2] [UU]
> > md2 : active raid1 hdc2[1] hda2[0]
> > 505920 blocks [2/2] [UU]
> > md3 : active raid1 hdc3[1] hda3[0]
> > 497920 blocks [2/2] [UU]
> > md4 : active raid1 hdc4[1] hda4[0]
> > 79377088 blocks [2/2] [UU]
> > unused devices: <none>
> >
> > Any ideas why mdadm (mdadm -As) can not find my arrays at boot time.
> > --
>
> Is /etc/mdadm.conf the correct location? Debian uses
> /etc/mdadm/mdadm.conf. Are you using a special initrd/initramfs boot
> method?
/etc/mdadm.conf is there, I have even tried to copy it
to /etc/mdadm/mdadm.conf and the error is still there.
No initrd/iniramfs on this system.
--
Dan Johansson, <http://www.dmj.nu>
***************************************************
This message is printed on 100% recycled electrons!
***************************************************
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Errormessage from mdadm at boot
2006-09-03 10:38 ` [gentoo-user] " Remy Blank
@ 2006-09-03 23:04 ` Neil Bothwick
0 siblings, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2006-09-03 23:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
On Sun, 03 Sep 2006 12:38:34 +0200, Remy Blank wrote:
> I guess you have set your raid partitions to "raid autodetect", and all
> your partitions are detected by the kernel before the initialization
> scripts even start. Then, when mdadm -As is called, it doesn't find any
> *other* raid arrays to start and gives a (misleading) error message.
>
> If your /proc/mdstat looks ok after booting, you can safely ignore the
> message.
Or you can remove raid from RC_VOLUME_ORDER in /etc/conf.d/rc. If all
your RAID devices are set up by the kernel, ther's no point in even
trying to scan for them.
--
Neil Bothwick
Is it true that cannibals don't eat clowns because they taste funny?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-03 23:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-03 10:17 [gentoo-user] Errormessage from mdadm at boot Dan Johansson
2006-09-03 10:29 ` Justin Piszcz
2006-09-03 11:08 ` Dan Johansson
2006-09-03 10:38 ` [gentoo-user] " Remy Blank
2006-09-03 23:04 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox