Operating System - HP-UX
1826381 Members
4133 Online
109692 Solutions
New Discussion

How to change max PV's in a volume group

 
Amit Jadhav
Occasional Advisor

How to change max PV's in a volume group

Hi,

I have a volume group configured(HPUX 11.0) with max PV's 16 and PE size 4 MB. Now I have to extend the volume group by adding disks which exceeds the max PV no.

Is there any way so that I can change the max PV's to 255 and PE size to 64MB for that volume group without doing vgexport and recreating the volume group again.

Thanks,
Amit Jadhav
7 REPLIES 7
MARTINACHE
Respected Contributor

Re: How to change max PV's in a volume group

Hi,

I think that the only answer is :

vgexport, re-creation and restore.

Regards,

Patrice.
Patrice MARTINACHE
Cheryl Griffin
Honored Contributor

Re: How to change max PV's in a volume group

Once the volume group is created, there is no way to change the volume group options on the fly.

There is an enhancement request to change this behavior.

You must recreate the volume group in order to increase max_pv.
"Downtime is a Crime."
Dave Wherry
Esteemed Contributor

Re: How to change max PV's in a volume group

To clarify, you need to BACKUP, recreate and then restore.
If you vgexport you will not have the data backed up. If you then recreate the volume group you destroy all of the data. There is nothing to restore from. Forget the part about about vgexport, it does you no good.
vgimport does not have options to change the volume group config. parameters.
MARTINACHE
Respected Contributor

Re: How to change max PV's in a volume group

Dave,

In this case, we only use vgexport in order to destroy the vg, not for vg struture backup.

Regards,

Patrice.
Patrice MARTINACHE
Dave Wherry
Esteemed Contributor

Re: How to change max PV's in a volume group

Patrice,
That is exactly true. vgexport is a fast way to remove the volume group. I wanted Amit to realize the data needs to be baacked up if it is to be restored.
Thanks.
Dave
Amit Jadhav
Occasional Advisor

Re: How to change max PV's in a volume group

Thanks you guys for all your help

Thanks,
Amit.
Rajeev Tyagi
Valued Contributor

Re: How to change max PV's in a volume group

what abt the points amit?