From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7BJQtDc024535 for ; Fri, 11 Aug 2006 15:26:55 -0400 Received: from sccrmhc15.comcast.net (sccrmhc15.comcast.net [63.240.77.85]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k7BJQtZn003073 for ; Fri, 11 Aug 2006 15:26:55 -0400 From: "Greg Hartzog" Subject: RE: [linux-lvm] LVM2 on hardware RAID Date: Fri, 11 Aug 2006 15:26:44 -0400 Message-ID: <000e01c6bd7c$14ef4fa0$640a0a0a@laptopoptimus> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01C6BD5A.8DDDAFA0" In-Reply-To: <73A8ABE78537AE4E9DB1D70863B8275F0330CD7C@exchange2k.lims.com> 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: 'LVM general discussion and development' This is a multi-part message in MIME format. ------=_NextPart_000_000F_01C6BD5A.8DDDAFA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I believe you will do the following: "pvresive /dev/sdb" That will make the volume group now be 600GB. Then use "lvextend" to enlarge the logical volumes, and whatever the proper tool is to extend the EXT3 filesystem. Best to have the logical volumes & volume group offline ("vgchange -a n") before starting resizing. Just my $0.02. _____ From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On Behalf Of Musil, William Sent: Friday, August 11, 2006 12:49 PM To: linux-lvm@redhat.com Subject: [linux-lvm] LVM2 on hardware RAID Hello all. I have an issue, that I am not sure how to address. How can I resize the physical volume if I change the geometry of the disk (non-destructive resize of RAID volume at the hardware level) I can see that the OS has picked up the new size of the disk and I would like to resize the existing pv. I don't know how. I started with a hardware raid 5 (400GB), linux automatically recognizes disk as /dev/sdb a simplistic representation of the setup is as follows pvcreate /dev/sdb vgcreate VolGroup10 /dev/sdb lvcreate -n LogVol10 VolGroup10 mkfs.ext3 /dev/mapper/VolGroup10-LogVol10 I have added a disk and expand the array to 600GB I can still see every thing but I don't know how to extend the PV. filesystems OK logical volumes OK volume groups OK linux sees /dev/sdb as 600GB pvs shows pv /dev/sdb is 400GB. I wish to, non-destructively, reinitialize /dev/sdb so that pvs shows 600GB. how? William T. Musil Manager, Technical Services LabVantage Solutions, Inc. 1160 US Highway 22 East, Bridgewater, NJ 08807 p| 908.333.0111 f | 908.707.1179 e| wmusil@labvantage.com i | www.labvantage.com The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. <> ------=_NextPart_000_000F_01C6BD5A.8DDDAFA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable LVM2 on hardware RAID

I believe you will do the = following:

 

“pvresive = /dev/sdb”

 

That will make the volume group now = be 600GB.

 

Then use “lvextend” to = enlarge the logical volumes, and whatever the proper tool is to extend the EXT3 filesystem.

 

Best to have the logical volumes = & volume group offline (“vgchange –a n”) before starting resizing.

 

Just my = $0.02.

 


From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] = On Behalf Of Musil, William
Sent: Friday, August 11, = 2006 12:49 PM
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM2 = on hardware RAID

 

Hello all.

I have an issue, that I am not sure how to address. =

How can I resize the physical volume if I change the geometry of the disk (non-destructive resize of RAID volume at the hardware level) =

I can see that the OS has picked up the new size of the disk and I would = like to resize the existing pv. I don't know how.

I started with a hardware raid 5 (400GB), linux automatically recognizes = disk as /dev/sdb

a simplistic representation of the setup is as follows =

pvcreate /dev/sdb
vgcreate VolGroup10 /dev/sdb
lvcreate -n LogVol10 VolGroup10
mkfs.ext3 /dev/mapper/VolGroup10-LogVol10

I have added a disk and expand the array to 600GB I can still see every = thing but I don't know how to extend the PV.

filesystems OK
logical volumes OK
volume groups OK

linux sees /dev/sdb as 600GB
pvs shows pv /dev/sdb is 400GB. I wish to, non-destructively, reinitialize = /dev/sdb so that pvs shows 600GB. how?

 

William T. = Musil
Manager, Technical Services =

LabVantage Solutions, Inc. =
1160 US Highway 22 East, Bridgewater, NJ 08807
p| 908.333.0111
f = | 908.707.1179
e| = wmusil@labvantage.com
i = | www.labvantage.com

The information in this e-mail is confidential and = may contain legally privileged information. It is intended solely for the = person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, = copying, distribution, action taken, or action omitted to be taken in reliance on = it, is prohibited and may be unlawful. If you received this e-mail in error, = please contact the sender and delete the material from any = computer.

<<Musil, William.vcf>> =

------=_NextPart_000_000F_01C6BD5A.8DDDAFA0--