Linux LVM users
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@uk.sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] 2  LVM questions -  LVM and 2.4.19, and extent based striping.
Date: Tue Nov 26 16:28:02 2002	[thread overview]
Message-ID: <20021126222800.E6509@uk.sistina.com> (raw)
In-Reply-To: <20021126213244.D6509@uk.sistina.com>; from agk@uk.sistina.com on Tue, Nov 26, 2002 at 09:32:44PM +0000

On Tue, Nov 26, 2002 at 09:32:44PM +0000, Alasdair Kergon wrote:
> If you have 18 extents (PEs) with 6 on each disk numbered:
>   disk1:   0  1  2  3  4  5
>   disk2:   6  7  8  9 10 11
>   disk3:  12 13 14 15 16 17
[More on the numbering LVM* uses, in case that wasn't clear enough.]

Depending whereabouts those extents are on the disk, 
the *actual* PE numbers that LVM* assigns could be 
completely different (but still consecutive on each disk
inside each segment of the LV) e.g.
    disk1:   0  1  2  3  4  5
    disk2:  50 51 52 53 54 55
    disk3:   8  9 10 11 12 13

And the corresponding logical extent (LE) numbers within the 
logical volume run *along* each stripe of the segment in turn:
    disk1:   0  1  2  3  4  5
    disk2:   6  7  8  9 10 11
    disk3:  12 13 14 15 16 17
So in LE terms, the data get striped across 0, 6 and 12, then 
1, 7 and 13 etc., equivalent to striping across 3 extents each
6 times bigger, just one per disk viz.  [0..5], [6..11] and [12..17].
 
Alasdair
-- 
agk@uk.sistina.com

  reply	other threads:[~2002-11-26 16:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 13:15 [linux-lvm] 2 LVM questions - LVM and 2.4.19, and extent based striping GBanschbach
2002-11-26 15:52 ` Alasdair G Kergon
2002-11-26 16:28   ` Alasdair G Kergon [this message]
2002-11-27 11:23 ` Heinz J . Mauelshagen
2002-11-27 11:28 ` Heinz J . 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=20021126222800.E6509@uk.sistina.com \
    --to=agk@uk.sistina.com \
    --cc=linux-lvm@sistina.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