Linux RAID subsystem development
 help / color / mirror / Atom feed
* mdadm devices building in the wrong order
@ 2007-10-23  0:44 marc
  2007-10-23  2:28 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: marc @ 2007-10-23  0:44 UTC (permalink / raw)
  To: linux-raid

Hello,

I am having a rather urgent and annoying problem and I would appreciate
some input from anyone who has come across this.  I have not been able to
find a solution as of yet.  My issue deals with nested raid using mdadm,
and it seems that upon a reboot mdadm is attempting to assemble the larger
array before the smaller component array is created, and thus it is
failing.

I have a degraded raid 5 array md1 whch is composed of hda1 and md0.  Upon
a reboot, mdadm attempts to build md1 before md0 is built. It fails, so
md1 is not build and I need to assemble it manually.

Is there a solution for this?

Thanks you for your time,

Marc

p.s. I would like to also take a second to express my gratitude to Neil
Brown  for the mdadm utility.  I have found it very useful and it has made
working with raid in linux very enjoyable and straight-forward!

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

* Re: mdadm devices building in the wrong order
  2007-10-23  0:44 mdadm devices building in the wrong order marc
@ 2007-10-23  2:28 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2007-10-23  2:28 UTC (permalink / raw)
  To: marc; +Cc: linux-raid

On Monday October 22, marc@fox2k.net wrote:
> Hello,
> 
> I am having a rather urgent and annoying problem and I would appreciate
> some input from anyone who has come across this.  I have not been able to
> find a solution as of yet.  My issue deals with nested raid using mdadm,
> and it seems that upon a reboot mdadm is attempting to assemble the larger
> array before the smaller component array is created, and thus it is
> failing.
> 
> I have a degraded raid 5 array md1 whch is composed of hda1 and md0.  Upon
> a reboot, mdadm attempts to build md1 before md0 is built. It fails, so
> md1 is not build and I need to assemble it manually.
> 
> Is there a solution for this?

What order are the arrays listed in in mdadm.conf?
If md1 comes first, put it last.

Otherwise, I cannot think what might be happening.  Maybe if you
include some kernel logs that might help.


> 
> Thanks you for your time,
> 
> Marc
> 
> p.s. I would like to also take a second to express my gratitude to Neil
> Brown  for the mdadm utility.  I have found it very useful and it has made
> working with raid in linux very enjoyable and straight-forward!

Thanks :-)

NeilBrown

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

end of thread, other threads:[~2007-10-23  2:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23  0:44 mdadm devices building in the wrong order marc
2007-10-23  2:28 ` Neil Brown

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