All of lore.kernel.org
 help / color / mirror / Atom feed
From: keld@keldix.com
To: Roman Mamedov <rm@romanrm.net>
Cc: Phil Turmel <philip@turmel.org>,
	Paul Roland <paulrolandw@gmail.com>,
	linux-raid@vger.kernel.org
Subject: Re: RAID 10 / 2 Devices Layout question
Date: Tue, 28 Jun 2016 14:40:17 +0200	[thread overview]
Message-ID: <20160628124017.GA7953@www5.open-std.org> (raw)
In-Reply-To: <20160628142502.7e69983d@natsu>

On Tue, Jun 28, 2016 at 02:25:02PM +0500, Roman Mamedov wrote:
> On Sun, 26 Jun 2016 13:34:05 -0400
> Phil Turmel <philip@turmel.org> wrote:
> 
> > On 06/26/2016 01:20 PM, Paul Roland wrote:
> > 
> > > I have two SSDs, and I would like to use md/raid10 (2devices) for
> > > performance reasons.
> > 
> > Ok, that's reasonable.
> 
> Maybe I'm missing something, but how is a RAID10 of just two devices is
> considered reasonable without any questions or explanation? What is the actual
> layout that is expected here, and what benefits (or even differences) does it
> have compared to RAID0? I thought you need at least 3 devices (and h/w RAID
> controllers might even require 4) for RAID10 to start making sense.

I think your understanding is a common misunderstanding of the Linux raid10.
There is more on this subject on:

https://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10

In short: yes Linux MD RAID10 is a different beast than standard RAID 1+0,
It can work with improved performance with just 2 disks, and even perform
like RAID0 for the Linux MD RAID10 far layout

See more on https://raid.wiki.kernel.org/index.php/Performance

best regards
Keld

  reply	other threads:[~2016-06-28 12:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-26 17:20 RAID 10 / 2 Devices Layout question Paul Roland
2016-06-26 17:34 ` Phil Turmel
2016-06-28  9:25   ` Roman Mamedov
2016-06-28 12:40     ` keld [this message]
2016-06-28 18:16     ` Phil Turmel

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=20160628124017.GA7953@www5.open-std.org \
    --to=keld@keldix.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=paulrolandw@gmail.com \
    --cc=philip@turmel.org \
    --cc=rm@romanrm.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.