linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* RE: RE: [linux-lvm] LVM2 on hardware RAID
@ 2006-08-11 19:37 Musil, William
  2006-08-14 22:36 ` paddy
  0 siblings, 1 reply; 8+ messages in thread
From: Musil, William @ 2006-08-11 19:37 UTC (permalink / raw)
  To: LVM general discussion and development


[-- Attachment #1.1: Type: text/plain, Size: 3498 bytes --]

Thank you Greg, that was exactly what I needed. I was looking at pvextend. My
mistake.
I can now create another lv in the resized vg. Thanks again.
 

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.

-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com]On
Behalf Of Greg Hartzog
Sent: Friday, August 11, 2006 3:27 PM
To: 'LVM general discussion and development'
Subject: RE: [linux-lvm] 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>> 


[-- Attachment #1.2: Type: text/html, Size: 14155 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Musil, William.vcf --]
[-- Type: text/x-vcard; name="Musil, William.vcf", Size: 185 bytes --]

BEGIN:VCARD
VERSION:2.1
N:Musil;William
FN:Musil, William
ADR;WORK:;Bridgewater
LABEL;WORK:Bridgewater
EMAIL;PREF;INTERNET:WMusil@labvantage.com
REV:20040303T185224Z
END:VCARD

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [linux-lvm] LVM2 on hardware RAID
@ 2006-08-11 16:48 Musil, William
  2006-08-11 17:24 ` paddy
  2006-08-11 19:26 ` Greg Hartzog
  0 siblings, 2 replies; 8+ messages in thread
From: Musil, William @ 2006-08-11 16:48 UTC (permalink / raw)
  To: linux-lvm


[-- Attachment #1.1: Type: text/plain, Size: 1694 bytes --]

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>> 

[-- Attachment #1.2: Type: text/html, Size: 3528 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Musil, William.vcf --]
[-- Type: text/x-vcard; name="Musil, William.vcf", Size: 185 bytes --]

BEGIN:VCARD
VERSION:2.1
N:Musil;William
FN:Musil, William
ADR;WORK:;Bridgewater
LABEL;WORK:Bridgewater
EMAIL;PREF;INTERNET:WMusil@labvantage.com
REV:20040303T185224Z
END:VCARD

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-08-14 23:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11 19:37 RE: [linux-lvm] LVM2 on hardware RAID Musil, William
2006-08-14 22:36 ` paddy
2006-08-14 22:57   ` Zak Kipling
2006-08-14 23:46     ` paddy
  -- strict thread matches above, loose matches on Subject: below --
2006-08-11 16:48 Musil, William
2006-08-11 17:24 ` paddy
2006-08-11 19:26 ` Greg Hartzog
2006-08-14 20:55   ` paddy

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).