From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx2.redhat.com (mx2.redhat.com [10.255.15.25]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l6VL1BJH021345 for ; Tue, 31 Jul 2007 17:01:11 -0400 Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.33]) by mx2.redhat.com (8.13.1/8.13.1) with ESMTP id l6VL19Cs021960 for ; Tue, 31 Jul 2007 17:01:09 -0400 Received: from mail.dougware.net ([71.77.64.18]) by cdptpa-omta01.mail.rr.com with ESMTP id <20070731210054.XGSV21280.cdptpa-omta01.mail.rr.com@mail.dougware.net> for ; Tue, 31 Jul 2007 21:00:54 +0000 Received: from localhost ([127.0.0.1]) by mail.dougware.net for linux-lvm@redhat.com; Tue, 31 Jul 2007 17:00:52 -0400 From: "Doug Eubanks" Message-ID: <20070731210052.da6bf8cb@mail.dougware.net> Date: Tue, 31 Jul 2007 17:00:52 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------8eb6914a08f1e34be6d5051045358142" Subject: [linux-lvm] LVM on hardware RAID 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. -------------8eb6914a08f1e34be6d5051045358142 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Quick question.... I've got three drives in on a hardware SCSI raid. Within the next week,= I will be adding two drives to the array and using the controller's exp= and function to increase the size of my array. Will the pv and vg sizes automatically be increased after a parted a reb= oot=3F I was also considering just adding a second LVM partition to onc= e the expand has completed and adding that pv to the vg. Does anyone have any advice or pointers or best practices=3F I've been using linux for over 10 years, and only recently discovered th= e joys and advantages of LVM....it's a lifesaver! Doug -------------8eb6914a08f1e34be6d5051045358142 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Quick question....

I've got three drives in on a hardware SCSI ra= id.  Within the next week, I will be adding two drives to the array= and using the controller's expand function to increase the size of my a= rray.

Will the pv and vg sizes automatically be increased after a= parted a reboot=3F  I was also considering just adding a second LV= M partition to once the expand has completed and adding that pv to the v= g.

Does anyone have any advice or pointers or best practices=3F
I've been using linux for over 10 years, and only recently discove= red the joys and advantages of LVM....it's a lifesaver!

Doug
<= /body> -------------8eb6914a08f1e34be6d5051045358142-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [172.16.44.152] (friday.brisbane.redhat.com [172.16.44.152]) by pobox.brisbane.redhat.com (8.13.1/8.13.1) with ESMTP id l6VMl7ub027360 for ; Wed, 1 Aug 2007 08:47:08 +1000 Message-ID: <46AFBBEB.1000703@gmail.com> Date: Wed, 01 Aug 2007 08:47:07 +1000 From: David Robinson MIME-Version: 1.0 Subject: Re: [linux-lvm] LVM on hardware RAID References: <20070731210052.da6bf8cb@mail.dougware.net> In-Reply-To: <20070731210052.da6bf8cb@mail.dougware.net> Content-Transfer-Encoding: 7bit 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: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development Doug Eubanks wrote: > Quick question.... > > I've got three drives in on a hardware SCSI raid. Within the next > week, I will be adding two drives to the array and using the > controller's expand function to increase the size of my array. > > Will the pv and vg sizes automatically be increased after a parted a > reboot? No. You would need to run pvresize first (you would need to resize the underlying partition first if one is used) - after pvresize has been run you will see that the size of the VG the PV is in has increased. I was also considering just adding a second LVM partition to > once the expand has completed and adding that pv to the vg. > > Does anyone have any advice or pointers or best practices? I prefer to enlarging the underlying partition (if possible) then do a pvresize rather than adding an additional partition and doing pvcreate and vgextend. The only reason is to avoid adding partitions necessarily, but obviously this isn't always possible and there is the increased risk that you could break things if your not careful (make sure the partition's start block is the same). Dave