From: David Brown <david@westcontrol.com>
To: linux-raid@vger.kernel.org
Subject: Re: wish for Linux MD mirrored raid types
Date: Fri, 06 May 2011 12:54:28 +0200 [thread overview]
Message-ID: <iq0jv1$psl$1@dough.gmane.org> (raw)
In-Reply-To: <4DC3C804.6080200@abpni.co.uk>
On 06/05/2011 12:05, Jonathan Tripathy wrote:
>
>>>> RAID1 is traditionally a mirror only setup (ok, some RAID
>>>> implementations may do some load-balancing of some sort). So a RAID1
>>>> with 4 disks is one data set copied onto 4 disks. Bandwidth is roughly
>>>> the same as a single disk (ignoring any load balancing).
>>>> RAID10 is mirror and stripe. A RAID10 with 4 disks is similar to a 2
>>>> disk RAID0 (double bandwidth with data split in half across both
>>>> disks),
>>>> but with each disk having a mirror (which brings the total up to 4
>>>> drives).
>>>>
>>>> Additionally, a RAID1 disk (at least using MD) can be accessed just
>>>> like
>>>> a normal disk (good for recovery etc.) however a single disk out of a
>>>> RAID10 array is next to useless.
> Just so I can sleep at night, is my understanding of RAID10 and RAID1
> above correct?
>
It's mostly right (assuming, of course, that /I/ am correct here...).
RAID1 is traditionally a two-way mirror on two disks (or possibly on two
other raid sets, as in raid0+1). So if you talk about RAID1 with 4
disks, you should probably qualify it more precisely - otherwise people
will wonder what you mean, or think it is impossible (many other RAID1
solutions, hardware or software, don't support more than two-way
mirrors). /I/ would certainly say that a 4-disk RAID1 is a four-way
mirror as you described - but some people might think of a standard
layout RAID1+0.
As you say, RAID10,near on four disks is pretty much identical to
RAID1+0 - i.e., a stripe of two normal RAID1 pairs.
A single md RAID1 disk can be accessed like a normal disk, /if/ it uses
metadata format 0.90 which is put at the end of the drive. If you have
later metadata formats that are at the beginning, then that will cause
trouble if you try to view the disk without using md. A single disk
from a RAID10 is, as you say, useless without md.
However, assuming your recovery PC supports md raid, then you can
assembly your single RAID10 disk as a degraded RAID10 array. After all,
it wouldn't be very redundant if you only had access to your data when
all the disks were working!
next prev parent reply other threads:[~2011-05-06 10:54 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-06 7:17 wish for Linux MD mirrored raid types Keld Jørn Simonsen
2011-05-06 7:31 ` Roman Mamedov
2011-05-06 9:03 ` Keld Jørn Simonsen
2011-05-06 9:22 ` Jonathan Tripathy
2011-05-06 9:41 ` Keld Jørn Simonsen
2011-05-06 9:50 ` Roman Mamedov
2011-05-06 10:05 ` Jonathan Tripathy
2011-05-06 10:54 ` David Brown [this message]
2011-05-06 13:27 ` Keld Jørn Simonsen
2011-05-06 14:01 ` Miles Fidelman
2011-05-06 15:24 ` Keld Jørn Simonsen
2011-05-06 15:34 ` Roberto Spadim
2011-05-06 16:23 ` Miles Fidelman
2011-05-06 18:29 ` Keld Jørn Simonsen
2011-05-06 20:30 ` Leslie Rhorer
2011-05-06 20:43 ` Miles Fidelman
2011-05-06 12:33 ` Keld Jørn Simonsen
2011-05-06 13:26 ` Mikael Abrahamsson
2011-05-06 13:40 ` Keld Jørn Simonsen
2011-05-06 7:51 ` David Brown
2011-05-06 9:27 ` Keld Jørn Simonsen
2011-05-08 18:14 ` Luca Berra
2011-05-08 21:25 ` Miles Fidelman
2011-05-09 3:40 ` Keld Jørn Simonsen
2011-05-09 4:24 ` NeilBrown
2011-05-09 19:57 ` Keld Jørn Simonsen
2011-05-09 5:22 ` Emmanuel Noobadmin
2011-05-09 14:48 ` Roberto Spadim
2011-05-09 19:59 ` Keld Jørn Simonsen
2011-05-09 20:12 ` Roberto Spadim
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='iq0jv1$psl$1@dough.gmane.org' \
--to=david@westcontrol.com \
--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 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.