Possible Duplicate:
Can someone explain the physical architecture of RAID 10 in complete layman's terms?
I'm trying to figure out how exactly works the RAID 10 in linux with mdadm.
I want to create a RAID 10 out of 4 partitions, let's say a, b, c and d. a and b are on the array 1, c and d array 2.
So what I want is to have the couple a and b, c and d in RAID 0. Then on top of that, a RAID 1.
The option in the mdadm command to configure the layout is -p, --layout with option : near, far, offset see here
I want to keep my data safe if the array 1 fails for example, that would mean that every chunk of data are always copied on both arrays.
How do I have to set my RAID 10, near or far ?
EDIT: 1 more information very important: In fact, I have 2 * DriveDUO 320GB that are each of them, detected as 2 * 160GB. So a and b are "linked" together and if one fails, the other fails because they are on the same card/PCI-E.