Operating System - HP-UX
1827294 Members
1268 Online
109960 Solutions
New Discussion

Impossible to create a new VG

 
SOLVED
Go to solution
enrico.nic
Regular Advisor

Impossible to create a new VG

Hi

Trying to create a new volume group, with a single file system o 100 Gb, I am obtaining this message from SAM:

The command used to create volume groups, /sbin/vgcreate, has failed.
The stderr output from the command is shown below. The volume group has not been created.

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.

What can I do ? Which parameters should I change.

Thank you in advance

Enrico
4 REPLIES 4
melvyn burnard
Honored Contributor
Solution

Re: Impossible to create a new VG

as per the man page for vgcreate:

/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 ...

You need to eihter increase the extent size using the -e option, or decrease the max PV/LV parameters, using -p or -l
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Thierry Poels_1
Honored Contributor

Re: Impossible to create a new VG

Hi,

(Max PE) * (Max PV) * 8 must be less than PE size.

It's probably best to increase the PC size.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Thierry Poels_1
Honored Contributor

Re: Impossible to create a new VG

hmmmmz, PC Size???? hahaha
Please read as "PE Size (Physical Extent)"
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
enrico.nic
Regular Advisor

Re: Impossible to create a new VG

Ok, I've created the group through the command line and it works.

Thank you