Increasing Max PV

 
SOLVED
Go to solution
Jim Naylor
Advisor

Increasing Max PV

Is there still a restiction on HP-UX 11.0 to increase the maximum number of physical volumes? Do you still have to backup data and re-create the volume group?
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: Increasing Max PV

Hi Jim:

Once 'vgcreate'd, the geometry of a volume group specified by 'pe_size', 'max_pv', 'max_pe' and 'max_lv' cannot be changed without backing up any data and destroying and recreating the volume group.

Regards!

...JRF...
IT_2007
Honored Contributor

Re: Increasing Max PV

you can't do it without destroying it. Take backup and create new vg with required specifications and copy data.
inventsekar_1
Respected Contributor

Re: Increasing Max PV

Is there still a restiction on HP-UX 11.0 to increase the maximum number of physical volumes? ---while creating the VG or when a VG is already there?

if the VG is already there--> the above response.

if u r going to create VG-->

man vgcreate

-p max_pv Set the maximum number of physical volumes
that the volume group is allowed to contain.
The default value for max_pv is 16. The
maximum number of physical volumes can be a
value in the range 1 to 255.



SYNOPSIS
/usr/sbin/vgcreate [-f] [-A autobackup] [-x extensibility] [-e max_pe]
[-l max_lv] [-p max_pv] [-s pe_size] [-g pvg_name] vg_name
pv_path ...


Be Tomorrow, Today.
sathish kannan
Valued Contributor

Re: Increasing Max PV

Hi Jim,
Yes, if it is a exisiting volume group. These parameters are defined defined while creating VG.

Regards
Sathish
Don't Think too much
siva baskaran
Regular Advisor

Re: Increasing Max PV

hi to all,
just be good will don't thing abt begative point of view, just thing on postive mind, but don't forget to analysis the defectives to make it positive, like wise i telling that

use the pvmove cmd to move particular pv to some other without taking backup, get more solution also for it, there will be option to do same, that what we are Admin.

thanks
siva
Jim Naylor
Advisor

Re: Increasing Max PV

Thanks for the responses.