cancel
Showing results for 
Search instead for 
Did you mean: 

Help with VG creation

 
arkie
Super Advisor

Help with VG creation

Hi,

We have present a Vdisk of size 269 GB and trying to create a new VG for application, but we are getting the following the error:-

# vgcreate /dev/vg01 /dev/dsk/c5t0d1
Warning: Max_PE_per_PV for the volume group (65535) too small for this PV (68863).
Using only 65535 PEs from this physical volume.
Increased the number of physical extents per physical volume to 65535.
vgcreate: Volume group "/dev/vg01" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.

Need some help.
2 REPLIES
R.O.
Esteemed Contributor

Re: Help with VG creation

Hi,

Yo must specify the parameters for the vg. From the man of vgcreate:

/etc/vgcreate [-x extensibility] [-e max_physical_extents] [-l
max_logical_vols] [-p max_physical_vols] [-s physical_extent_size] [-g
physical_vol_group_name] volume_group_name physical_volume_path ...

Try to set a higher value for "physical_extent_size" and decrease "max_PVs/max_LVs" as it says, to see the combinations which will work for this disk.

Regards,

Regards,
"When you look into an abyss, the abyss also looks into you"
Robert-Jan Goossens
Honored Contributor

Re: Help with VG creation

VGRA is larger then the default value (4mb)

Use this
# vgcreate -e 65535 -p 32 -s 32 /dev/vg01 /dev/dsk/c5t0d1


Regards,
Robert-Jan