linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID10 n1 layout?
@ 2010-06-17 10:02 Adrian Sandor
  2010-06-17 10:17 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Sandor @ 2010-06-17 10:02 UTC (permalink / raw)
  To: linux-raid

Hi, I've just created a RAID10 with mdadm using default options, and with -v it said:
    mdadm: layout defaults to n1
According to the docs, the default should be n2, and n1 would mean no redundancy (like RAID0)
Furthermore, after creating the array, I checked it with -D and it said:
    Layout : near=2
Is this a bug?
I'm using mdadm 3.0

Thanks
Adrian


      

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

* Re: RAID10 n1 layout?
  2010-06-17 10:02 RAID10 n1 layout? Adrian Sandor
@ 2010-06-17 10:17 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2010-06-17 10:17 UTC (permalink / raw)
  To: Adrian Sandor; +Cc: linux-raid

On Thu, 17 Jun 2010 03:02:09 -0700 (PDT)
Adrian Sandor <aditsu@yahoo.com> wrote:

> Hi, I've just created a RAID10 with mdadm using default options, and with -v it said:
>     mdadm: layout defaults to n1
> According to the docs, the default should be n2, and n1 would mean no redundancy (like RAID0)
> Furthermore, after creating the array, I checked it with -D and it said:
>     Layout : near=2
> Is this a bug?
> I'm using mdadm 3.0

Yes it is a bug.  It says "n1" but it means "n2".

It will be fixed in the next release.

Thanks for the report.

NeilBrown

> 
> Thanks
> Adrian
> 
> 
>       
> --
> 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] 2+ messages in thread

end of thread, other threads:[~2010-06-17 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17 10:02 RAID10 n1 layout? Adrian Sandor
2010-06-17 10:17 ` 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).