Operating System - HP-UX
1752808 Members
5629 Online
108789 Solutions
New Discussion юеВ

Re: Refresh VG with new vdisk size in EVA Command View.

 
SOLVED
Go to solution
Mahesh Alexander
Frequent Advisor

Refresh VG with new vdisk size in EVA Command View.

Hi all,

We have a HP-UX.11.23.and not sure if this could be done with this version.

I have to create a new LV with 100Gb of size and check in the Volume group there isn't enough space available.

root:server:/ # vgdisplay vgQB6_01
--- Volume groups ---
VG Name /dev/vgQB6_01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 128
Cur PV 5
Act PV 5
Max PE per PV 11679
VGDA 10
PE Size (Mbytes) 32
Total PE 58390
Alloc PE 56152
Free PE 2238
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

We have 5 vdisk in this VG (vgQB6_01), so a increased 10Gb on each of them to have in total 50Gb more in this VG, saved the configuration.

Now I go to my HP-UX server and vgdisplayed the VG but Total, Alloc and Free PE is the same. Have performed ioscan,etc but no changes are showed.

Is there any way I can force this VG to show the new space available?

Please let me know how to achieve this and if a reboot is necessary or what.

Thanks as always
3 REPLIES 3
Manix
Honored Contributor
Solution

Re: Refresh VG with new vdisk size in EVA Command View.

we need to run vgmodify command to present the new Lunn size to the OS.

To take advantage of a physical volume size increase, it may be necessary to run vgmodify to increase the maximum number of physical extents for the volume group.

The detection of physical volume size changes (LUN size expansion or contraction) is automatic, with the handling taking place unless the -r or -t options have been used."

try the optimization option
vgmodify -v -o


http://h30499.www3.hp.com/t5/LVM-and-VxVM/Dynamic-LUN-expansion-using-vgmodify/m-p/5055709#M44433

HP-UX been always lovable - Mani Kalra
Mahesh Alexander
Frequent Advisor

Re: Refresh VG with new vdisk size in EVA Command View.

I get this because is being used.

root:server:/ # vgmodify -v -o vgQB6_01
vgmodify: The volume group "vgQB6_01" is active on this system.
Cannot perform requested change.

This server is being used by users globally so if I inactivate this VG, users will get no access to it, right?

Manix
Honored Contributor

Re: Refresh VG with new vdisk size in EVA Command View.

for sure you may not run "vgcfgmodify" on active VG apart from these two..

vgmodify -t vg00
vgmodify -r vg00


The volume group can be active when reporting the configuration (-r)
or displaying a table of available settings (-t). The volume group
must be de-activated before vgmodify can perform any configuration
changes (see vgchange(1M))

# vgmodify
Usage: vgmodify
[-e MaxPhysicalExtents]
[-p MaxPhysicalVolumes]
[-l MaxLogicalVolumes]
[-v]
[-n]
[-r]
[-B bootable]
VolumeGroupName {[pv_path] [pv_path] (...).
HP-UX been always lovable - Mani Kalra