From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.7]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB9K6Nvk027205 for ; Wed, 9 Dec 2009 15:06:23 -0500 Received: from anger.doruk.net.tr (smtp.doruk.net.tr [212.58.5.248]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB9K66r7032181 for ; Wed, 9 Dec 2009 15:06:07 -0500 Received: from vahric.doruk.net.tr ([212.58.13.17] helo=WINDBRFYZHT9OR) by anger.doruk.net.tr with esmtp (Exim 4.60) (envelope-from ) id 1NISnS-0004Lg-Q9 for linux-lvm@redhat.com; Wed, 09 Dec 2009 22:06:03 +0200 From: =?iso-8859-9?Q?Vahri=E7_Muhtaryan?= Date: Wed, 9 Dec 2009 22:05:59 +0200 Message-ID: <060201ca790b$066f9ea0$134edbe0$@net.tr> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0603_01CA791B.C9F86EA0" Content-Language: en-us Subject: [linux-lvm] lvm striped VG and Extend and Reallocation Question Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com This is a multi-part message in MIME format. ------=_NextPart_000_0603_01CA791B.C9F86EA0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable Hello to All, =20 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. =20 Two question=20 =20 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 ? =20 =DDf 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 ?=20 =20 Second; =20 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. =DDs = there any way to reallocation PEs ? =20 Regards Vahric ------=_NextPart_000_0603_01CA791B.C9F86EA0 Content-Type: text/html; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable

Hello to =A0All,

 

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, =A0I = have to add two PVs more=A0 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 ?

 

=DDf 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=A0 = this and improve performance I would like to lay all data to all PVs after = extend. =DDs there any way to =A0reallocation PEs ?

 

Regards

Vahric

------=_NextPart_000_0603_01CA791B.C9F86EA0--