1832997 Members
2264 Online
110048 Solutions
New Discussion

Re: lvol size

 
Tonatiuh
Super Advisor

lvol size

RHAS 3 on a LUN of 124 GB size.

I have created the physical volume (ov) and the volme group (vg).

pvcreate -d /dev/sdd
vgcreate -s 128k /dev/vg01 /dev/sdd

But it limits the size of the logical volum (lvol) that I can create.

[root@itanium2 root]# lvcreate -L 123G /dev/vg01
lvcreate -- size 128974720 KB is larger than maximum VGDA kernel size of 8388352 KB

What can I do to create larger logical volumes (lvol)?


2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: lvol size

Your volume group has too low a limit on the number of PE units it allows.

You need to re-create the volume group with different parameters.

command: vgcreate

parameters to look at:

-e max_pe
-s pe_size

You will need to up both from the default to make this work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Slawomir Gora
Honored Contributor

Re: lvol size

Hi,
you can create only 65534 physical extents
in vg group.
in your example you can create lvol of size
128k*65534=8388352kB

If you want to create greater lvol you have to
create vg with bigger physical extend size
vgcreate -s 2M /dev/vg01 /dev/sdd

you can create max lvol 2M*65534=131068M