Operating System - HP-UX
1825705 Members
3248 Online
109686 Solutions
New Discussion

Increase Physical Extent size for Volume Group

 
Nabil_11
Frequent Advisor

Increase Physical Extent size for Volume Group

Hi,
I configured MC/ServiceGaurd and its work prefect,
I need to increase vg04 it was ( 50 GB )
I define new disk 100 GB
I execute vgextend /dev/vg04 /dev/dsk/cxtxdx
and I export it to the second member
it works properly
BUT I found that the whole space is 100 GB rather that 150 GB
I know its vgcreate limitation I should modify the PE number per PV
or the PE size (its 4 MB)
but how to do that without backup and restore the data and not create the vg from scratch
I dont have online JFS
Regards

Nabil

4 REPLIES 4
RAC_1
Honored Contributor

Re: Increase Physical Extent size for Volume Group

You will have to re-create the VG.
1. Increase PE size
2. OR increase no. of extents.

man vgcreate for details.
There is no substitute to HARDWORK
Pete Randall
Outstanding Contributor

Re: Increase Physical Extent size for Volume Group

The only time you can define pe-size or max-pe is at vgcreate time so the only way you're going to be able to do this is to backup, re-create and restore. Sorry.


Pete

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: Increase Physical Extent size for Volume Group

The max PE's value is set when the VG is created; unless you plan ahead and override the defaults, you are limited to the largest physical volume size found when the vgcreate was done. You have to backup and recreate the VG and restore OR vgreduce your 100GB disk and recreate it as 2 50GB LUN's.
If it ain't broke, I can fix that.
Alex Lavrov.
Honored Contributor

Re: Increase Physical Extent size for Volume Group

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=856746


Heh, there must be now about 10 threads with this question ;)
I don't give a damn for a man that can only spell a word one way. (M. Twain)