linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Evans <mjevans1983@gmail.com>
To: Keld Simonsen <keld@keldix.com>
Cc: Guy Watkins <linux-raid@watkins-home.com>,
	Neil Brown <neilb@suse.de>,
	Greg Freemyer <greg.freemyer@gmail.com>,
	Mark Knecht <markknecht@gmail.com>,
	Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: What RAID type and why?
Date: Sun, 7 Mar 2010 02:09:33 -0800	[thread overview]
Message-ID: <4877c76c1003070209vd40c8b9x11edde7d793ad378@mail.gmail.com> (raw)
In-Reply-To: <20100307082256.GB30126@light.rap.dk>

On Sun, Mar 7, 2010 at 12:22 AM, Keld Simonsen <keld@keldix.com> wrote:
> On Sun, Mar 07, 2010 at 03:10:18AM -0500, Guy Watkins wrote:
>> } -----Original Message-----
>> } From: Keld Simonsen [mailto:keld@keldix.com]
>> } Sent: Sunday, March 07, 2010 3:07 AM
>> } To: Neil Brown
>> } Cc: Guy Watkins; 'Greg Freemyer'; 'Mark Knecht'; 'Linux-RAID'
>> } Subject: Re: What RAID type and why?
>> }
>> } On Sun, Mar 07, 2010 at 01:21:13PM +1100, Neil Brown wrote:
>> } > On Sat, 06 Mar 2010 18:17:44 -0500
>> } > "Guy Watkins" <linux-raid@watkins-home.com> wrote:
>> } >
>> } > > }
>> } > > } At a minimum I would build a 3-disk raid 6.  raid 6 does a lot of
>> } i/o
>> } > > } which may be a problem.
>> } > >
>> } > > If he only needs 3 drives I would recommend RAID1.  Can still loose 2
>> } drives
>> } > > and you don't have the RAID6 I/O overhead.
>> } > >
>> } >
>> } > and as md/raid6 requires at least 4 drives, RAID1 is not just the best
>> } > solution to survive two failures on a 3-device array, it is the only
>> } solution.
>> }
>> } Raid10 can also do it.
>> }
>> } raid1 is in many ways obsolete and you should rather use raid10,
>> } which in my eyeys is just another way of doing the same conceptual thing
>> } as raid1.
>> }
>> } Best regards
>> } keld
>>
>> Are you sure RAID10 can loose 2 of 3 drives?  I did not think it worked that
>> way.  I thought RAID10 maintained 2 copies, not 3.  But I have never used
>> RAID10.
>
> If you ask mdadm to do it, yes. Example:
>
> mdadm --create /dev/md3 --chunk=256 -R -l 10 -n 3 -p f3 /dev/sd[abc]1
>
> the "-p f3" is the one that asks to have 3 copies.
>
> best regards
> keld
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Yes, that way would work, except in that case it would use more
complicated methods to split up the stripes among the drives.  Since
you're application seems to be read heavy, I agree with using 'far'
for the stripe method.

However the dis-advantage of mdadm raid10 has been two-fold compared
to raid1 (until kernel 2.6.33+).
1) Fixed in 2.6.33: Striped storage did not previously support
write-barriers (required for atomic write mechanisms/journals).
2) Still unsupported? : Reshape of raid10 arrays.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-03-07 10:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06 22:02 What RAID type and why? Mark Knecht
2010-03-06 22:33 ` Greg Freemyer
2010-03-06 23:05   ` Mark Knecht
2010-03-07  0:38     ` Keld Simonsen
2010-05-10 15:20     ` Matt Garman
2010-05-10 15:34       ` Mark Knecht
2010-03-06 23:17   ` Guy Watkins
2010-03-06 23:51     ` Mark Knecht
2010-03-08 20:05       ` Bill Davidsen
2010-03-06 23:56     ` Michael Evans
2010-03-07  2:21     ` Neil Brown
2010-03-07  8:06       ` Keld Simonsen
2010-03-07  8:10         ` Guy Watkins
2010-03-07  8:22           ` 'Keld Simonsen'
2010-03-07 10:09             ` Michael Evans [this message]
2010-03-07 12:52       ` Goswin von Brederlow
2010-03-07 20:40         ` Michael Evans
2010-03-10 17:47           ` Goswin von Brederlow
2010-03-11 10:44             ` Michael Evans
2010-03-06 23:03 ` Asdo

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=4877c76c1003070209vd40c8b9x11edde7d793ad378@mail.gmail.com \
    --to=mjevans1983@gmail.com \
    --cc=greg.freemyer@gmail.com \
    --cc=keld@keldix.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-raid@watkins-home.com \
    --cc=markknecht@gmail.com \
    --cc=neilb@suse.de \
    /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).