Skip to contentSkip to conversation

RAID10 n1 layout?

DISCUSSION Adrian Sandor 2 participants 2 messages Jun 17, 2010 MD RAID

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · On Thu, 17 Jun 2010 03:02:09 -0700 (PDT) Adrian Sandor <[email protected]> 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

Quoted 10 lines

Thanks
Adrian

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html