linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: John Robinson <john.robinson@anonymous.org.uk>
Cc: Dylan Distasio <interzone@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: Question on RAID 10 setup
Date: Wed, 25 Mar 2009 13:23:44 +1100	[thread overview]
Message-ID: <18889.38320.418741.501873@notabene.brown> (raw)
In-Reply-To: message from John Robinson on Tuesday March 24

On Tuesday March 24, john.robinson@anonymous.org.uk wrote:
> On 24/03/2009 22:15, Dylan Distasio wrote:
> > Hi all-
> > 
> > I would like to put together a RAID10 array utilizing 2x1TB drives and
> > 2x500 gig drives I have in my home Linux server.  Is the best way to do
> > this to create 2 separate RAID1 arrays, one for each set of drives, and
> > then a RAID0 array made up of the RAID1 ones?   I just wanted to verify
> > that I am going about this correctly, and also get input on whether
> > there are any disadvantages to this setup.  I would prefer not to split
> > these up into two separate RAID10 arrays because I want the combined
> > space available under one.   Thanks for any comments.
> 
> I think you can mix drive sizes under md RAID-10 - much as you're 
> proposing to above with your RAID-0 of different-sized RAID-1s - and md 
> will just do the Right Thing.

Incorrect.  RAID-10, as with all levels that provide redundancy and
hot-spares etc, used the same amount of space on all devices.
Only RAID0 and Linear make use of all available space.

>                               I'd go for testing that and play with 
> layouts (near, far, offset) to suit your requirements before worrying 
> about setting up RAID 1+0.
> 
> Actually with your hardware I'd probably set up a 1TB RAID-0 with the 
> 500G drives then make a RAID-5 from the 3 1TB devices (2 raw drives plus 
> one md RAID-0). If you can be bothered try benchmarking that too; as 
> well as giving you more storage I think it'll probably match the RAID-10 
> or RAID 1+0 for performance.

I think that is a very reasonable option, as is the original
suggestion.

NeilBrown

  parent reply	other threads:[~2009-03-25  2:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1183FAF84E86E244938C2174EE436BAC030FBE29@NYKPCMEU306VEUA.INTRANET.BARCAPINT.COM>
2009-03-24 22:15 ` Question on RAID 10 setup Dylan Distasio
2009-03-24 23:48   ` John Robinson
2009-03-25  0:52     ` Keld Jørn Simonsen
2009-03-25  2:23     ` Neil Brown [this message]
2009-03-25 12:26   ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18889.38320.418741.501873@notabene.brown \
    --to=neilb@suse.de \
    --cc=interzone@gmail.com \
    --cc=john.robinson@anonymous.org.uk \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).