Re: mdadm devices building in the wrong order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday October 22, marc@xxxxxxxxx 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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux