1752307 Members
5351 Online
108786 Solutions
New Discussion юеВ

Re: LUN increase.

 
SOLVED
Go to solution
mpua
Frequent Advisor

LUN increase.

Hi,

We have a production server with a lot of VGs with SAN (IBM DS) LUNS.
In this case one of the VGs has one PV (on a 250 GB SAN lun).
The Storage folks have increased the capacity of this LUN to 400 GB... but i perform "ioscan -fn" and "insf -e" and I cant see the new size, diskinfo still reports 250...
Whats happening? Any chance of solving this without rebooting the box?


Regards,
8 REPLIES 8
Shibin_2
Honored Contributor

Re: LUN increase.

What's your OS and version?

If you are using HP-UX 11.31, you can use vgmodify command

# vgmodify -r -E -a ( This is review )

If review is ok, then execute the command without -r

# vgmodify -E -a

If you are having HP-UX 11.23 with vgmodify command installed, the also you can use the above same command.
Regards
Shibin
Torsten.
Acclaimed Contributor

Re: LUN increase.

A reboot will not change anything, even if SEP will tell this ... ;-)



Most important: What OS is running?

In case of 11.11 - no way other than recreate the VG.

In case of 11.23 - it must be patched to have "vgmodify" available.

In case of 11.23/11.31 you need to use "vgmodify" to adjust the LVM structure.

In case of 11.31 you (maybe) need to use scsimgr too.

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!   
SoorajCleris
Honored Contributor
Solution

Re: LUN increase.

Hi,

Add on ,

The document below will explain you perfectly.


"Using the vgmodify command to perform LVM Volume
Group Dynamic LUN Expansion (DLE) and Contraction
(DLC)"
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
mpua
Frequent Advisor

Re: LUN increase.

We have vgmodify installed but the "-E" option is not working:


sdprdb1@root:/sbin/>vgmodify -r -E -a /dev/vgbackora
Usage: vgmodify
[-e MaxPhysicalExtents]
[-p MaxPhysicalVolumes]
[-l MaxLogicalVolumes]
[-v]
[-n]
[-r]
[-B bootable]
VolumeGroupName {[pv_path] [pv_path] ....}

or vgmodify -o [-v] [-r] [-B bootable] VolumeGroupName {[pv_path] ....}

or vgmodify -t [-v] [-n] [-B bootable] VolumeGroupName {[pv_path] ....}
"E": Illegal option.


Any solution to this??
Torsten.
Acclaimed Contributor

Re: LUN increase.

You still did not tell the OS!

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!   
mpua
Frequent Advisor

Re: LUN increase.

Sorry! HP-UX 11.23


HPUX11i-OE B.11.23.0712 HP-UX Foundation Operating Environment Component
Shibin_2
Honored Contributor

Re: LUN increase.

Have you tried with this option?

# vgmodify -r -a -E /dev/rdsk/

If that too not working, something is wrong with your patch version of vgmodify.

Your patch PHCO_35524 or PHCO_40920 is in correct state?

As far as I know, HP-UX 11.23 vgmodify won't support online DLC.

Also noted from your description of error, it is not supporting online DLE. In this case, you need to de-activate VG and use offline DLE.

1. diskinfo
2. vgchange -a n
3. vgmodify -r -e
4. vgchange -a y


Read.
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf
Regards
Shibin
mpua
Frequent Advisor

Re: LUN increase.

I finally solved the situation last Fridays by reading the vgmodify manual one of you posted in this thread, really good and easy to understand.

Thanks!