linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID6 starts before RAID0 component - how to force the order?
@ 2005-08-06  4:50 Trevor Cordes
  2005-08-06  5:40 ` Tyler
  2005-08-06 22:15 ` Neil Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Trevor Cordes @ 2005-08-06  4:50 UTC (permalink / raw)
  To: linux-raid

I'll keep this short and to the point and I'm hoping for a quick simple 
high-level answer from the gurus.  I don't need hand holding, so please 
take a quick look!

I have a new RAID6 array.  A component of that array is a RAID0 sub-array.  
mdadm creates and rebuilds this multilevel array just fine.  Then I 
reboot.  Boot log shows RAID6 detected first, _THEN_ RAID0.  Thus RAID6 is 
degraded without its RAID0 component.

The RAID0 array is fine/clean.  It's just a boot order problem I'm sure.

How do I set/force the order that arrays are started at boot time?  When 
doing multi-level arrays, you would think either a) you can force it or b) 
it would be "smart" about it.

FC3 kernel-2.6.12-1.1372_FC3
using mdadm
no raidtab

Thanks!

PS #1: if this is a mailing list, please CC my email.
PS #2: I did google searches for 2 hours and there is ZILCH on this topic

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

* Re: RAID6 starts before RAID0 component - how to force the order?
  2005-08-06  4:50 RAID6 starts before RAID0 component - how to force the order? Trevor Cordes
@ 2005-08-06  5:40 ` Tyler
  2005-08-06 22:15 ` Neil Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Tyler @ 2005-08-06  5:40 UTC (permalink / raw)
  To: Trevor Cordes; +Cc: linux-raid

I only have a suggestion, not a definitive answer by any means.. but you 
may want to try the latest 2.6.13-rc3-mmX (or maybe rc4-mmX), I believe 
it has some changes in it, regarding the scanning and initialization of 
multi-level arrays.  I could be wrong though, but worth a shot in the 
day and age of 10 minute or less compiles :)

Tyler.

Trevor Cordes wrote:

>I'll keep this short and to the point and I'm hoping for a quick simple 
>high-level answer from the gurus.  I don't need hand holding, so please 
>take a quick look!
>
>I have a new RAID6 array.  A component of that array is a RAID0 sub-array.  
>mdadm creates and rebuilds this multilevel array just fine.  Then I 
>reboot.  Boot log shows RAID6 detected first, _THEN_ RAID0.  Thus RAID6 is 
>degraded without its RAID0 component.
>
>The RAID0 array is fine/clean.  It's just a boot order problem I'm sure.
>
>How do I set/force the order that arrays are started at boot time?  When 
>doing multi-level arrays, you would think either a) you can force it or b) 
>it would be "smart" about it.
>
>FC3 kernel-2.6.12-1.1372_FC3
>using mdadm
>no raidtab
>
>Thanks!
>
>PS #1: if this is a mailing list, please CC my email.
>PS #2: I did google searches for 2 hours and there is ZILCH on this topic
>-
>To unsubscribe from this list: send the line "unsubscribe linux-raid" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>  
>

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

* Re: RAID6 starts before RAID0 component - how to force the order?
  2005-08-06  4:50 RAID6 starts before RAID0 component - how to force the order? Trevor Cordes
  2005-08-06  5:40 ` Tyler
@ 2005-08-06 22:15 ` Neil Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Brown @ 2005-08-06 22:15 UTC (permalink / raw)
  To: Trevor Cordes; +Cc: linux-raid

On Friday August 5, trevor@tecnopolis.ca wrote:
> I'll keep this short and to the point and I'm hoping for a quick simple 
> high-level answer from the gurus.  I don't need hand holding, so please 
> take a quick look!
> 
> I have a new RAID6 array.  A component of that array is a RAID0 sub-array.  
> mdadm creates and rebuilds this multilevel array just fine.  Then I 
> reboot.  Boot log shows RAID6 detected first, _THEN_ RAID0.  Thus RAID6 is 
> degraded without its RAID0 component.
> 
> The RAID0 array is fine/clean.  It's just a boot order problem I'm sure.
> 
> How do I set/force the order that arrays are started at boot time?  When 
> doing multi-level arrays, you would think either a) you can force it or b) 
> it would be "smart" about it.

If you are depending on 'autodetect' with partition-type '0xfd', then
this won't work.
You should simply have mdadm assemble the arrays early in the boot
sequence.
If the raid0 is listed in mdadm before the raid6, then 
   mdadm -As
should assemble them in the correct order.

NeilBrown

> 
> FC3 kernel-2.6.12-1.1372_FC3
> using mdadm
> no raidtab
> 
> Thanks!
> 
> PS #1: if this is a mailing list, please CC my email.
> PS #2: I did google searches for 2 hours and there is ZILCH on this topic
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2005-08-06 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-06  4:50 RAID6 starts before RAID0 component - how to force the order? Trevor Cordes
2005-08-06  5:40 ` Tyler
2005-08-06 22:15 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).