linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: Oguz Yilmaz <oguzyilmazlist@gmail.com>
Cc: Sebastian Riemer <sebastian.riemer@profitbricks.com>,
	linux-raid@vger.kernel.org
Subject: Re: Raid 0+1
Date: Sat, 01 Dec 2012 20:10:17 -0600	[thread overview]
Message-ID: <50BAB889.2090308@hardwarefreak.com> (raw)
In-Reply-To: <CAAo+KFn82hYUak4mvqMfix8UEPC7uwdvmbmRFLikQFqYDjNrHg@mail.gmail.com>

On 12/1/2012 7:11 AM, Oguz Yilmaz wrote:

> Why do we need another storage server.

You don't.

> IF I create
> md0 Raid0 (sda1 + sda2)
> md1 Raid0 (sdc1 + sdc2)
> 
> then is it possible to create
> md2 Raid1 (md0 + md1)
> 
> like md?

Sure, you can do this.  One downside is you can never expand it WRT
capacity or effective spindles.  The only way to get there is to put the
RAID1 device in a linear device and grow more of these 4 device RAID 0+1
devices into the linear device.  This setup requires an allocation group
based filesystem, XFS, to get anything near linear scaling across the
drives.  But for that your application must exhibit file level
parallelism, i.e. reading/writing many dozens of files in parallel, and
with inode64 mount, they must be in different directories.  Otherwise
you IO won't scale across your disks.

-- 
Stan



  reply	other threads:[~2012-12-02  2:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-30 13:25 Raid 0+1 Oguz Yilmaz
2012-11-30 14:27 ` Sebastian Riemer
2012-11-30 14:40   ` Sebastian Riemer
2012-12-01 13:11     ` Oguz Yilmaz
2012-12-02  2:10       ` Stan Hoeppner [this message]
2012-11-30 15:29   ` Lars Marowsky-Bree
2012-11-30 16:25     ` Sebastian Riemer

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=50BAB889.2090308@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=oguzyilmazlist@gmail.com \
    --cc=sebastian.riemer@profitbricks.com \
    /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).