linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Vahriç Muhtaryan" <vahric@doruk.net.tr>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvm striped VG and Extend and Reallocation Question
Date: Wed, 9 Dec 2009 22:05:59 +0200	[thread overview]
Message-ID: <060201ca790b$066f9ea0$134edbe0$@net.tr> (raw)

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

Hello to  All,

 

I'm using lvm2, I will create 2 striped LV which volume group created by two
PVs. When write happen, its will striped to two PVs step by step.

I know that when need to extend stirped LV,  I have to add two PVs more  and
extend the LV for do not get an error.

 

Two question 

 

First; when I extend striped volume does it means I will have 2 striped 2
linear volume group? Means chunk1 written to PV1 ,chunk2 written to PV2 and
its over , it will pass second two PVs and chunk3 written to PV3 ,chunk4
wirtten PV4 , right ?

 

İf its right , when data is not big enough and chunk1 and chunk2 enough to
store, next write request time LVM start for first pair of PVs or not ? 

 

Second;

 

I would like to balance striped data when I add PVs to extend related VG
because first datas are written to only olds PVs and after extend if read
request happen still old disks will be used instead of  this and improve
performance I would like to lay all data to all PVs after extend. İs there
any way to  reallocation PEs ?

 

Regards

Vahric


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

                 reply	other threads:[~2009-12-09 20:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='060201ca790b$066f9ea0$134edbe0$@net.tr' \
    --to=vahric@doruk.net.tr \
    --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).