Hi Heinz,
<br>I found a definition of nested raid levels on wikipedia here http://en.wikipedia.org/wiki/Nested_RAID_levels that seems to agree with what Jason is saying.  Raid10 is defined as a stripe of mirrors.
<br>   -James
<br><br><br><br><br><br><blockquote style='border-top: 1px solid rgb(204, 204, 204); margin: 0.8ex 0pt 0pt 0pt; padding-bottom: 1ex;'>
<br>---------[ Received Mail Content ]----------<br>
<br> <b>Subject : </b>RE: raid10 vs raid01 type in dmraid<br>
<br> <b>Date : </b>Thu, 21 Jun 2007 09:23:32 -0700<br>
<br> <b>From : </b>"Gaston, Jason D" <jason.d.gaston@intel.com><br>
<br> <b>To : </b><mauelshagen@redhat.com><br>
<br> <b>Cc : </b>"ATARAID (eg, Promise Fasttrak,  Highpoint 370) related discussions" <ataraid-list@redhat.com><br>
<br><br>
<br>>-----Original Message-----
<br><br>>From: Heinz Mauelshagen [mailto:mauelshagen@redhat.com] 
<br><br>>Sent: Thursday, June 21, 2007 3:38 AM
<br><br>>To: Gaston, Jason D
<br><br>>Cc: mauelshagen@redhat.com; ATARAID (eg, Promise Fasttrak, 
<br><br>>Highpoint 370) related discussions
<br><br>>Subject: Re: raid10 vs raid01 type in dmraid
<br><br>>
<br><br>>On Tue, Jun 19, 2007 at 03:52:14PM -0700, Gaston, Jason D wrote:
<br><br>>> I think that the array for nested raid levels, in metadata.c, may be
<br><br>>> upside down.  When I build a raid0+1 with Intel or Nvidia (one mirror
<br><br>>> array of two stripe arrays), it is reported as a "raid10" 
<br><br>>with [dmraid
<br><br>>> -s], this should be "raid01".  If I reverse the nesting to raid10, in
<br><br>>> Intel (one stripe array of two mirror arrays), it is reported as a
<br><br>>> "raid01" with [dmraid -s], this should be "raid10".
<br><br>>> 
<br><br>>> Can we just reverse the array in metadata.c?
<br><br>>
<br><br>>Nope, this is a question of the definition of RAID10 and 
<br><br>>RAID01 (or RAID0+1).
<br><br>>
<br><br>>I use RAID10 for a mirror on top of 2 (or more) striped sets vs.
<br><br>>RAID01 for a stripe on top of 2 (or more) mirror sets in dmraid.
<br><br>>
<br><br>>Ie. looking at the device stack from the top to the bottom.
<br><br>>
<br><br>>So the example you made above (Intel or NVidia) with one mirror of
<br><br>>2 striped arrays is a RAID10 by that definition.
<br><br>>
<br><br>>Heinz
<br><br>>
<br><br>>> 
<br><br>>> From:
<br><br>>> static const char *stacked_ascii_type[][5] = {
<br><br>>>    { "raid10", "raid30", "raid40", "raid50", "raid60" },
<br><br>>>    { "raid01", "raid03", "raid04", "raid05", "raid06" },
<br><br>>> };
<br><br>>> 
<br><br>>> To:
<br><br>>> static const char *stacked_ascii_type[][5] = {
<br><br>>> { "raid01", "raid03", "raid04", "raid05", "raid06" },    
<br><br>>> { "raid10", "raid30", "raid40", "raid50", "raid60" },
<br><br>>>    
<br><br>>> }; 
<br><br>>> 
<br><br>>> Thanks,
<br><br>>> 
<br><br>>> Jason
<br><br>>
<br><br>
<br><br>
<br><br>Where did we get that definition for RAID10 from?  Everywhere that I
<br><br>look I see the reverse definition for RAID10 vs RAID 0+1.  Nvidia even
<br><br>defines their RAID as 0+1 in their OROM and MediaShield documentation.
<br><br>
<br><br>Thanks,
<br><br>
<br><br>Jason
<br><br>
<br><br>_______________________________________________
<br><br>Ataraid-list mailing list
<br><br>Ataraid-list@redhat.com
<br><br>https://www.redhat.com/mailman/listinfo/ataraid-list
<br><br></BLOCKQUOTE><br/>
<div>
<hr style="width:85%;margin-left:0px;text-align:left"/><br/>
<b>Want to change your life? Find the perfect job with Lycos Jobs.</b><br/>
Career Advice. Job Resources & Recommendations.<br/>
<a href="http://www.careerbuilder.com/?lr=cblycos&siteid=lycoshp7"
target="_blank"><u>Post your resume & find a job match!</u></a>
</div>