public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mdadm: No arrays found in config file
@ 2006-07-18 17:42 Jarry
  2006-07-18 17:56 ` Richard Broersma Jr
  2006-07-18 22:04 ` Kenton Groombridge
  0 siblings, 2 replies; 6+ messages in thread
From: Jarry @ 2006-07-18 17:42 UTC (permalink / raw
  To: gentoo-user

Hi,

I have noticed following message in /var/log/boot
(but I see them too early during boot-up):
...
  * Remounting root filesystem read/write ...  [ ok ]
  * Setting hostname to obelix ...             [ ok ]
  * Starting up RAID devices (mdadm) ...
mdadm: No arrays found in config file         [ !! ]
...

But I do have correct entries in /etc/mdadm.conf,
I created it with "mdadm --detail --scan >> /etc/mdadm.conf:

ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=003fda39:c9fd7a80:2590ab77:4f666e20
...
ARRAY /dev/md8 level=raid1 num-devices=2 
UUID=9500d085:ab7ec189:f308114e:c88b3121

But despite of that message, all raid-partitions are recognised
and mounted correctly. Even "/etc/init.d/mdadm restart" works
without any complaint. So where is the problem?

Jarry

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] mdadm: No arrays found in config file
  2006-07-18 17:42 [gentoo-user] mdadm: No arrays found in config file Jarry
@ 2006-07-18 17:56 ` Richard Broersma Jr
  2006-07-18 22:04 ` Kenton Groombridge
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Broersma Jr @ 2006-07-18 17:56 UTC (permalink / raw
  To: gentoo-user

> I have noticed following message in /var/log/boot
> (but I see them too early during boot-up):
> ...
>   * Remounting root filesystem read/write ...  [ ok ]
>   * Setting hostname to obelix ...             [ ok ]
>   * Starting up RAID devices (mdadm) ...
> mdadm: No arrays found in config file         [ !! ]
> ...
> 
> But I do have correct entries in /etc/mdadm.conf,
> I created it with "mdadm --detail --scan >> /etc/mdadm.conf:
> 
> ARRAY /dev/md0 level=raid1 num-devices=2 
> UUID=003fda39:c9fd7a80:2590ab77:4f666e20
> ...
> ARRAY /dev/md8 level=raid1 num-devices=2 
> UUID=9500d085:ab7ec189:f308114e:c88b3121
> 
> But despite of that message, all raid-partitions are recognised
> and mounted correctly. Even "/etc/init.d/mdadm restart" works
> without any complaint. So where is the problem?

I have the same symptoms.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] mdadm: No arrays found in config file
  2006-07-18 22:04 ` Kenton Groombridge
@ 2006-07-18 21:20   ` Andreas Claesson
  2006-07-18 21:47     ` Richard Fish
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Claesson @ 2006-07-18 21:20 UTC (permalink / raw
  To: gentoo-user

On 7/19/06, Kenton Groombridge <kgroombr@charter.net> wrote:
> Jarry wrote:
> > I have noticed following message in /var/log/boot
> > (but I see them too early during boot-up):
> > ...
> >  * Remounting root filesystem read/write ...  [ ok ]
> >  * Setting hostname to obelix ...             [ ok ]
> >  * Starting up RAID devices (mdadm) ...
> > mdadm: No arrays found in config file         [ !! ]
> I have been getting this for some time but was hesitant to post a bug.
> Although I get this message, my raid starts fine, and when shutting
> down, I get an "OK" message that it is shutdown properly.
>

I believe the reason for this is that your partitions are of type 'fd'
When they have that id they are automagically found and started by the
kernel, and therefor there are nothing for mdadm to do.
But this is just a guess.

/Andreas
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] mdadm: No arrays found in config file
  2006-07-18 21:20   ` Andreas Claesson
@ 2006-07-18 21:47     ` Richard Fish
  2006-07-19  0:28       ` Kenton Groombridge
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Fish @ 2006-07-18 21:47 UTC (permalink / raw
  To: gentoo-user

On 7/18/06, Andreas Claesson <andreas.claesson@gmail.com> wrote:
> I believe the reason for this is that your partitions are of type 'fd'
> When they have that id they are automagically found and started by the
> kernel, and therefor there are nothing for mdadm to do.
> But this is just a guess.

That would be my guess.  Similarly, if the root filesystem is on a
raid volume, the initramfs environment may start all raid volumes, and
there will be nothing for mdadm to do.

If either of these sounds right, you should be able to remove the
"raid" entry from RC_VOLUME_ORDER in /etc/conf.d/rc.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] mdadm: No arrays found in config file
  2006-07-18 17:42 [gentoo-user] mdadm: No arrays found in config file Jarry
  2006-07-18 17:56 ` Richard Broersma Jr
@ 2006-07-18 22:04 ` Kenton Groombridge
  2006-07-18 21:20   ` Andreas Claesson
  1 sibling, 1 reply; 6+ messages in thread
From: Kenton Groombridge @ 2006-07-18 22:04 UTC (permalink / raw
  To: gentoo-user

Jarry wrote:
> I have noticed following message in /var/log/boot
> (but I see them too early during boot-up):
> ...
>  * Remounting root filesystem read/write ...  [ ok ]
>  * Setting hostname to obelix ...             [ ok ]
>  * Starting up RAID devices (mdadm) ...
> mdadm: No arrays found in config file         [ !! ]
I have been getting this for some time but was hesitant to post a bug. 
Although I get this message, my raid starts fine, and when shutting
down, I get an "OK" message that it is shutdown properly.

I tried a lot of stuff to get rid of this message with no results.

Ken
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] mdadm: No arrays found in config file
  2006-07-18 21:47     ` Richard Fish
@ 2006-07-19  0:28       ` Kenton Groombridge
  0 siblings, 0 replies; 6+ messages in thread
From: Kenton Groombridge @ 2006-07-19  0:28 UTC (permalink / raw
  To: gentoo-user

You are right on target.  This got rid of that message.

Thanks,
Ken

Richard Fish wrote:
> If either of these sounds right, you should be able to remove the
> "raid" entry from RC_VOLUME_ORDER in /etc/conf.d/rc.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-07-18 23:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-18 17:42 [gentoo-user] mdadm: No arrays found in config file Jarry
2006-07-18 17:56 ` Richard Broersma Jr
2006-07-18 22:04 ` Kenton Groombridge
2006-07-18 21:20   ` Andreas Claesson
2006-07-18 21:47     ` Richard Fish
2006-07-19  0:28       ` Kenton Groombridge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox