Operating System - HP-UX
1753827 Members
8392 Online
108805 Solutions
New Discussion юеВ

LUN Grow from storage side

 
Dhirendra kumar Thakur
Occasional Contributor

LUN Grow from storage side

Hi team,

We have require to grow vg and and create new mount point on two node cluster hp service guard on hpux-11.23
From storage side existing LUN size is 50GB has been grown by 150gb.
How do I perform this activity ?
7 REPLIES 7
R.K. #
Honored Contributor

Re: LUN Grow from storage side

Hello Mr. Thakur,

Refer this link:

http://deepees.wordpress.com/2009/02/18/hp-ux-adding-a-disk-to-an-mc-serviceguard-cluster-volumegroup/

Regds..
Don't fix what ain't broke
AnthonySN
Respected Contributor

Re: LUN Grow from storage side

Dear RK,
excellent link !
but do we need to pvcreate all the paths from a storage.
Dhirendra kumar Thakur
Occasional Contributor

Re: LUN Grow from storage side

Thanks RK

This will realy help in that case when new LUN has been assign form storage side for grow vg (i.e. vgextend)
But hare case is different we have existing LUN is 50gb let c10t8d0 same LUN has been extended form 50gb to 150gb from stoage side.
So in this case no new device found and how can we make visible that extended space in vg as well as on service guard.
R.K. #
Honored Contributor

Re: LUN Grow from storage side

Hello Mr.Thakur,

Not very sure, but I *think* vgexport and vgimport should work.
Then check from vgdisplay, if the exents have increased.

Regards..
Don't fix what ain't broke
AnthonySN
Respected Contributor

Re: LUN Grow from storage side

You need to use vgmodify to expand the existing lun.
attached is the doc for vgmodify
sujit kumar singh
Honored Contributor

Re: LUN Grow from storage side

hi

make sure that vgmodify and the assocaiated patches are there.

take the VG offline that is deactivate after unmlounting all the LVs.


Deactivate the VG.
vgchange -a n

ioscan

diskinfo /dev/rdsk/cXtYdZ

so as to ensure that the disk is seen by the OS with the Enlarged Size.

vgmodify -r -e


once successful you can activate the VG using
vgchange -a y

there are 2 things to be lookee into.

If this VG is the part of some package, make sure that the PKG is down and the VG is active only exclusively on any one
of the cluster nodes.

and that in case required, to adjust the VGRA values, it might be needed that pvmove is required to move the first PE
in order to allow forst PE to hold that area for new Bigger VGRA.


after the new LVs are created in VG then the map file needs to generated once again and then the VG imported on the other cluster Nodes.

Regards
Sujit
sujit kumar singh
Honored Contributor

Re: LUN Grow from storage side

hi

instead of doing LUN expansion from the storage side this is always advisable that a new LUN is created and assigned to the server, then run ioscan, insf, vgextend followed by lvextend/lvcreate etc.

Regards
Sujit