linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Stuart D Gathman <stuart@bmsi.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] General Q on adding new PVs to existing striped RAID set
Date: Tue, 07 Dec 2010 11:58:05 -0500	[thread overview]
Message-ID: <4CFE679D.2090702@bmsi.com> (raw)
In-Reply-To: <AANLkTiktmuWTBC-s1Qi4KBjQOyhYh+TtLxiu0hPhNh+K@mail.gmail.com>

On 12/07/2010 04:15 AM, hansbkk@gmail.com wrote:
> Example - if I have say 6TB of RAID10 managed by LVM, and then find I
> need to add another 2TB, I might add a RAID1 mirror of 2x 2TB drives
> and extend my VG to get more space. However it seems for optimum
> performance and fault tolerance I should  consider this a somewhat
> temporary workaround. Ultimately I would want to get back to a
> coherent single 8TB RAID set, and take the RAID1 mirror out.
>
> This seems to be better from multiple POVs - more space efficient,
> more consistently predictable performance (if not actually faster),
> and most importantly more fault tolerant.
Raid1 is just as fault tolerant as raid10.  Raid10 just adds striping
for performance.  You are probably thinking that with more devices, the
probability of 2 devices failing close together is larger.  However,
going from 4 to 6 (or 8) devices does not significantly decrease
reliability compared to the increase provided by raid1 (with or without
striping).
> I realize if I was using RAID6 as many have advised I should, I could
> grow the underlying RAID itself directly and then expand the VG, and
> obviously this would be ideal. But I wanted to clarify regarding those
> RAID flavors that can't be grown in place, as a principle of best
> practice.
You can grow raid1/raid10 also.  Raid6 (and 5) has the read/modify/write
cycle issue that affects random write performance.
> Please confirm if my thinking on this is on the right track.
LVM supports raid0 and 1 (and other levels in testing).  The only reason
I use raid1 "underneath" is that LVM is still maturing in raid support
(compared to, say, AIX).  LVM raid0 is quite good, however.  Consider
making all your PVs raid1, and doing your striping in LVM.  That is the
equivalent of raid10 and gives you much more flexibility in growing your
VG than raid10 underneath.

  reply	other threads:[~2010-12-07 16:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07  9:15 [linux-lvm] General Q on adding new PVs to existing striped RAID set hansbkk
2010-12-07 16:58 ` Stuart D Gathman [this message]
2010-12-08  3:01   ` hansbkk

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=4CFE679D.2090702@bmsi.com \
    --to=stuart@bmsi.com \
    --cc=linux-lvm@redhat.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).