linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Chris Murphy <lists@colorremedies.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Lvm RAID0 vs lvm striping
Date: Wed, 3 Jul 2019 09:45:00 -0600	[thread overview]
Message-ID: <CAJCQCtR-5CynVzg3TSbUCr8CcK76H=adQHmvGB8sBK3Oj7LFUg@mail.gmail.com> (raw)
In-Reply-To: <D1D4AF7B-074F-4F13-9A23-23694F162675@globalnoc.iu.edu>

On Wed, Jul 3, 2019 at 2:33 AM John Ratliff <jdratlif@globalnoc.iu.edu> wrote:
>
> What is the difference between these two?
>

If the question is about segment type, raid0 and raid1 use the md
driver code (same kernel code the mdadm raid uses, but is managed with
LVM metadata and user space tools). And striped and mirror use an
internal implementation, although I'm not sure if this is internal to
LVM or device-mapper, and I think are considered legacy at this point.

'man 7 lvmraid' doesn't directly answer your question but contains
quite a lot of information about lvmraid. It does explicitly say to
use raid1 over mirror segment type. It doesn't say that about raid0 vs
stripe segment type, maybe the two implementations aren't all that
different but anyway I would use raid0.



-- 
Chris Murphy

  reply	other threads:[~2019-07-03 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-02 15:53 [linux-lvm] Lvm RAID0 vs lvm striping John Ratliff
2019-07-03 15:45 ` Chris Murphy [this message]
2019-07-04 22:45 ` Heinz Mauelshagen

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='CAJCQCtR-5CynVzg3TSbUCr8CcK76H=adQHmvGB8sBK3Oj7LFUg@mail.gmail.com' \
    --to=lists@colorremedies.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).