Operating System - HP-UX
1825662 Members
3434 Online
109686 Solutions
New Discussion

Re: Unable to create new volume group through SAM

 
ITeam
Super Advisor

Unable to create new volume group through SAM

Hi.

I am trying to create a VG through SAM (HPUX 11.23 on Itanium server: rx4640). The VG is to utilize 2 x 146Gb drives. These are to be set up as a mirrored pair.

I receive the following message ...

lvextend: Not enough physical extents available

I have tried increasing the max no of physical extents (from default of 35000 to max of 65000). No joy. Also tried reducing the max no of physical vols down to 8 (from 16) - still no change. Has anyone any suggestions? I feel I am missing something.

One last thing ... I also increased the extents size up from 4 to 8 - also no change.

Many thanks.

David
5 REPLIES 5
Luk Vandenbussche
Honored Contributor

Re: Unable to create new volume group through SAM

Hi,

Create the empty volumegroup (without any logical volumes)

Then check the PE available with
vgdisplay -v vgxx

The expected PE are always a bitt less because of the VGDA.
Robert-Jan Goossens_1
Honored Contributor

Re: Unable to create new volume group through SAM

Iteam,

You are trying to create a new volume group and you get an error from the lvextend command ?

Could you post
# vgdisplay -v /dev/vgxx
# lvdisplay -v /dev/vgxx/lvoly

Regards,
Robert-Jan
Cesare Salvioni
Trusted Contributor

Re: Unable to create new volume group through SAM

hi
better doing it from a command line setting:
PE size greater then default, i would use 32 and at least 5000 max pe per pv (max PE multiplied PE size is the maximum disk size the vg can manage)

see man vgcreate to create the vg

once created the vg check it with vgdisplay

if you still cannot create the lv post the special files of the disks and i'll give you the full sequence fo commands to use

hope it helps
Cem Tugrul
Esteemed Contributor

Re: Unable to create new volume group through SAM

Hi,

try to take care important parameters
like -s and -e while vgcreate...

i often use ;
vgcreate -s 32 -e 25000 /dev/vgname /dev/dsk/c#t#d#

Good luck,
Our greatest duty in this life is to help others. And please, if you can't
ITeam
Super Advisor

Re: Unable to create new volume group through SAM

Thanks for all the help & suggestions. Managed to resolve it by setting the max extents to 25000 & the extent size to 32.