Operating System - HP-UX
1832867 Members
2831 Online
110048 Solutions
New Discussion

Extend vdisk (EVA4400), procedure hpux?

 

Extend vdisk (EVA4400), procedure hpux?

Hi all,

I'll need to extend a filesystem size. I dont have anymore PE free in my VG, so I've checked with Command View EVA if a vdisk can be extended.

A "requested size" option is available. But I dont know how LVM will receive this new information. Is there a guide ?

Thk you.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Extend vdisk (EVA4400), procedure hpux?

Shalom,

LVM will not recognize the increased size without a reboot, and maybe not after that.

You would be best to present a new, larger lun to the system and set up a new logical volume,file system and then migrate the data to it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Extend vdisk (EVA4400), procedure hpux?

Thank you for your reply.
So, I wonder why this option is available?

In my case, creating a new vdisk is impossible. I have enough space to extend the vdisk, but not enough to create temporarly a new one.

Re: Extend vdisk (EVA4400), procedure hpux?

Hi check out this if it works for you.

vgmodify â handle physical volume size changes and modify configuration parameters of an existing LVM volume group

SYNOPSIS

Set Specified Parameters

/usr/sbin/vgmodify [-B bootable] [-e max_pe] [-l max_lv] [-n] [-p max_pv] [-r] [-v] vg_name [pv_path...]

-e max_pe
Set the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group (see vgcreate(1M)) -e).

The maximum number of physical extents can range from the current highest physical extent in use on any physical volume in the volume group (1 if none in use) up to 65535.

The -t option displays a table of possible max_pe values for vg_name.

Re: Extend vdisk (EVA4400), procedure hpux?

Depends on the version of HP-UX...

11.11 has no (supported) method of extending a LUN in LVM.

11.23 Can extend a LUN via the vgmodify command if the required patches for vgmodify are installed.

11.31 Has the vgmodify commands built in

See the whitepaper on the subject here:

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

So what version of HP-UX are you running?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
sreekanthtm
Trusted Contributor

Re: Extend vdisk (EVA4400), procedure hpux?

One more suggestion.....
Instead of extend the vdisk size, You can create and present another vdisk of required size. I think this would be more easy. Did you consider this option?