Operating System - HP-UX
1833784 Members
2234 Online
110063 Solutions
New Discussion

Re: Total PE modification

 
SOLVED
Go to solution
System Unix
Frequent Advisor

Total PE modification

Hi,
The storages software allow expansion of luns on the fly, but from the host side, if the disk (lun) is in a volume group, the total PE will not change as a result of lun expansion.
is there a way to modify this value in with adb ?

thanks
Reuven
Reuven
5 REPLIES 5
melvyn burnard
Honored Contributor
Solution

Re: Total PE modification

To modify the VG attributes, you can log a call with your local HP Response Centre and request the unsupported utility called vgmodify if you are on HP-UX 11.11
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Doug O'Leary
Honored Contributor

Re: Total PE modification

Hey;

Normally, no, the total pe is set at boot time. Unless you use the vgmodify utility referenced in the previous post, you will have to back everything up, destroy the vg, recreate and and restore the data.

I've taken to setting the total pe upon vg creation using the -e switch to vgcreate. If you set it to something significantly larger than what you need currently, you'll be able to add larger disks to the vg later.

The question then becomes what to set it to. You'll have to play with the math. The forumla is:

${biggest_disk} = ${total_pe} * ${pe_size}

My client is currently using 33.72 gig EMC metas which would normally result in a total_pe of about 4317 w/pe size of 8megs. I've been up'ing that to 10,000 which means I could add a disk up to 78 gigs.

I know that won't help for your current problem, but if you start doing this, you'll avoid the problem in the future...

Doug

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Sivakumar TS
Honored Contributor

Re: Total PE modification

Hi,

Though the LUN has been extended, for LVM to recognise that you should use

#lvextend amd extend the filesystem.

And use #fsadm to extend the filesystem ONLINE ( if you have Online JFS )

otherwise you can use unmount and use #extendfs

With Regards,

Siva.
Nothing is Impossible !
Hoang Chi Cong_1
Honored Contributor

Re: Total PE modification

Hi

Check this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=987360

The Max PE per PV is define when you create VG.
You need get support from HP if you want to modify it.

Goodluck!
Hoang Chi Cong
Looking for a special chance.......
System Unix
Frequent Advisor

Re: Total PE modification

Thanks very much for your quick reply and assistance.
I have tried the vgmodify as was suggested by Melvyn Burnard and it works.( thanks )
I have tried it on 11.11, and on 11.23 Itanium SD64A model.
Reuven