linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: RAID-10 and 4 HDDs - how many HDDs can break without loosing data?
Date: Thu, 10 Aug 2006 12:39:39 +0200	[thread overview]
Message-ID: <20060810103939.GA24269@percy.comedia.it> (raw)
In-Reply-To: <44DAF321.7090204@wpkg.org>

On Thu, Aug 10, 2006 at 10:49:37AM +0200, Tomasz Chmielewski wrote:
>With RAID-0 on top of RAID-1, with 4 drives, I would achieve:
>- 100% chance of recovery if any single, one disk fails,
>- 50% chance of recovery if any two disks fail.
>
>Now with RAID-10 in the Linux kernel, what are my chances of recovering 
>from a single and two disk failure?

>Is it also 100% if one disk fails, and 50% if two disks fail?

if the number of copies is 2 yes

>Or perhaps, with 4 drives, RAID-10 can survive any 2 disks failure?
nope

note that with raid10 the number of copies for each stripe does not need
to be a divisor of the number of drives.
e.g you can have 4 drives and 3 stripe copies.
in this case you are able to survive any 2 disk failure. but the usable
space is DRIVE_SIZE * 1.33

L.


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  reply	other threads:[~2006-08-10 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-10  8:49 RAID-10 and 4 HDDs - how many HDDs can break without loosing data? Tomasz Chmielewski
2006-08-10 10:39 ` Luca Berra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-10  8:48 Tomasz Chmielewski
2006-08-14 21:48 ` Andrew Rechenberg Lists

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=20060810103939.GA24269@percy.comedia.it \
    --to=bluca@comedia.it \
    --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).