1748076 Members
5250 Online
108758 Solutions
New Discussion юеВ

Re: vgmodify help

 
SOLVED
Go to solution
mjos
Super Advisor

vgmodify help

Hi,
I need help with vgmodify command. I know there are many docs available regarding vgmodify but I need help from anybody who has actually executed vgmodify in a prod environment. The below VG & file-systems are clustered & are running on the primary node. I want to increase the max PV & Max PE per PV without deactivating the VG. The max size lun that can be added to this VG is 130 GB. I want to add a 256 GB lun & extend the VG.

VG Name /dev/orvg_db01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 16
Act PV 16
Max PE per PV 4095
VGDA 32
PE Size (Mbytes) 32
Total PE 58864
Alloc PE 53825
Free PE 5039
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0.0


The server is running B.11.31 U ia64 OS & vgmodify is fully supported.

Thanks in advance for any help that can be provided.
27 REPLIES 27
Torsten.
Acclaimed Contributor

Re: vgmodify help

At the moment I cannot remember on which update release the vgmodify became online capable. I suggest to review the 11.31 release notes.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: vgmodify help

Found it:

"Online vgmodify is supported starting with the HP-UX 11i v3 September 2008 Update release. "

from

Using the vgmodify command to perform LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
singh sanjeev
Trusted Contributor

Re: vgmodify help

Starting with the September 2008 release of HP-UX 11i Version 3, you can use the ├в E and
├в a options to vgmodify to recognize and accommodate size changes without deactivating the
volume group. For more information, see vgmodify(1M).
Sanjeev Singh
mjos
Super Advisor

Re: vgmodify help

Thanks we have the Sep-2009 bundle. But I need help in how to execute the vgmodify commands for increasing the increase the max PV & Max PE per PV
Torsten.
Acclaimed Contributor
Solution

Re: vgmodify help

Search the web for the document:

"Using the vgmodify command to perform LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC)"

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: vgmodify help

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
mjos
Super Advisor

Re: vgmodify help

Thanks Torsten, there is a pvmove command in there. Can you let me know if I do a pvmove command, will it remove any data or bring down the databases running on that VG.
When I do a vgmodify -tnv -

Physical Extent zero is not free on all PVs. You will not achieve these
values until the first extent is made free (see pvmove(1M)) on all the
following disks:

So as per the doc, I have to free up the first extent on all the disks by doing a pvmove.
James R. Ferguson
Acclaimed Contributor

Re: vgmodify help

Hi:

> Can you let me know if I do a pvmove command, will it remove any data or bring down the databases running on that VG.

A 'pvmove' can be used while the logical volume is in normal operating mode. However, do not interrupt the process as this can lead to a stale extent condition.

Regards!

...JRF...
mjos
Super Advisor

Re: vgmodify help

Thanks, I think I will backup all the data & then try the pvmove, don't want to take any risk with losing the data or bringing down the db.