linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Lvm RAID0 vs lvm striping
@ 2019-07-02 15:53 John Ratliff
  2019-07-03 15:45 ` Chris Murphy
  2019-07-04 22:45 ` Heinz Mauelshagen
  0 siblings, 2 replies; 3+ messages in thread
From: John Ratliff @ 2019-07-02 15:53 UTC (permalink / raw)
  To: linux-lvm


[-- Attachment #1.1: Type: text/plain, Size: 72 bytes --]

What is the difference between these two?

 

Thanks.

 

John Ratliff


[-- Attachment #1.2: Type: text/html, Size: 1757 bytes --]

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5222 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Lvm RAID0 vs lvm striping
  2019-07-02 15:53 [linux-lvm] Lvm RAID0 vs lvm striping John Ratliff
@ 2019-07-03 15:45 ` Chris Murphy
  2019-07-04 22:45 ` Heinz Mauelshagen
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Murphy @ 2019-07-03 15:45 UTC (permalink / raw)
  To: LVM general discussion and development

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Lvm RAID0 vs lvm striping
  2019-07-02 15:53 [linux-lvm] Lvm RAID0 vs lvm striping John Ratliff
  2019-07-03 15:45 ` Chris Murphy
@ 2019-07-04 22:45 ` Heinz Mauelshagen
  1 sibling, 0 replies; 3+ messages in thread
From: Heinz Mauelshagen @ 2019-07-04 22:45 UTC (permalink / raw)
  To: LVM general discussion and development, John Ratliff

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

This is both striping via 2 different, supported device-mapper targets, 
'striped' and 'raid'
('striped' is  an older, separate target and  'raid0' is supported by 
the 'raid' target which
  also supports raid1/raid4/raid5/raid6 and raid10).

The algorithm to distribute data on the stripes is the same for both 
striped and raid0
and they can be converted into each other running 'lvconvert --type 
striped|raid0 $LV'
since raid target version 1.7.0 / lvm2 version 2.02.155.

See lvmraid(7) for insight into the RAID support in lvm including the 
aforementioned
and many more conversions from and to RAID and between RAID levels and 
layouts..

Heinz

On 7/2/19 5:53 PM, John Ratliff wrote:
>
> What is the difference between these two?
>
> Thanks.
>
> John Ratliff
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[-- Attachment #2: Type: text/html, Size: 3284 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-04 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-02 15:53 [linux-lvm] Lvm RAID0 vs lvm striping John Ratliff
2019-07-03 15:45 ` Chris Murphy
2019-07-04 22:45 ` Heinz Mauelshagen

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).