linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID10 - Ensure mirrors aren't on same JBOD
@ 2010-04-26 16:15 Andrew Klaassen
  2010-04-26 18:18 ` Michael Evans
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Klaassen @ 2010-04-26 16:15 UTC (permalink / raw)
  To: linux-raid

I've got 4 fibre channel JBODs that I want to use with mdadm RAID 10.  They have 14 drives each, for a total of 56 drives.

I'd like to create a RAID-10 device where no copies end up on the same JBOD.  IOW, if copy 1 goes to the first drive on the first JBOD, copy 2 should go to the first drive on the third JBOD.  If copy 1 goes to the second drive on the second JBOD, copy 2 should go to the second drive on the fourth JBOD.

How should I order the drives on my mdadm --create command line?

Here's more-or-less what I want in pictures, using 3 drives per JBOD for simplicity, with A,B,a,b,1,2 meaning the same thing they do in the RAID FAQ:

jbod-1-1 Aa1 Ba1 Ca1
jbod-1-2 Ab1 Bb1 Cb1
jbod-1-3 Ac1 Bc1 Cc1

jbod-2-1 Da1 Ea1 Fa1
jbod-2-2 Db1 Eb1 Fb1
jbod-2-3 Dc1 Ec1 Fc1

jbod-3-1 Aa2 Ba2 Ca2
jbod-3-2 Ab2 Bb2 Cb2
jbod-3-3 Ac2 Bc2 Cc2

jbod-4-1 Da2 Ea2 Fa2
jbod-4-2 Db2 Eb2 Fb2
jbod-4-3 Dc2 Ec2 Fc2

The data doesn't have to look exactly like that, as long as the principle is maintained: The copies of the data should be on disks in separate JBODs.

Thanks.

Andrew






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

end of thread, other threads:[~2010-04-27 13:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m2h4877c76c1004261144h1019e9afkf05396996ea77a99@mail.gmail.com>
2010-04-26 18:57 ` RAID10 - Ensure mirrors aren't on same JBOD Andrew Klaassen
2010-04-26 19:58   ` Michael Evans
2010-04-26 20:20     ` Andrew Klaassen
2010-04-26 21:30       ` Michael Evans
2010-04-27 13:27   ` Keld Simonsen
2010-04-26 16:15 Andrew Klaassen
2010-04-26 18:18 ` Michael Evans
2010-04-26 18:36   ` Andrew Klaassen
2010-04-27 13:44   ` Keld Simonsen

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).