Operating System - HP-UX
1825803 Members
2202 Online
109687 Solutions
New Discussion

Re: max size of Logical Volume on hp-ux11i

 
SOLVED
Go to solution
Thomas Greig
Regular Advisor

max size of Logical Volume on hp-ux11i

Hello
I'm trying to create some LV's on a new 'ataboy' we've purchased.

I have made a raid of 1.4TB but when trying to create a lv over approx. 1TB I get the following errormsg:

"the new size is not a multiple of 16 the size will be rouned up to the nearest multiple 16MBytes (The physical extent size for this volume group)."

Then it creates the LV with the size 262128MB.

I assume there is a patch needed, but are not able to identify the correct one.
6 REPLIES 6
Slawomir Gora
Honored Contributor
Solution

Re: max size of Logical Volume on hp-ux11i

Hi,

what is you lvcreate syntax ?

check number of Free i Total PE in vg group
vgdisplay -v vg_name | grep "Total PE"
vgdisplay -v vg_name | grep "Free PE"

and then create lv:

lvcreate -l number_of_free_pe /dev/vg_name


Pete Randall
Outstanding Contributor

Re: max size of Logical Volume on hp-ux11i

Thomas,

If you're using the "-l" option, the limit is 65535 le's. If you're using the "-L" option, the limit is 16777216 MB "rounded up to the nearest multiple of the logical extent size, equivalent to the physical extent size defined for the volume group by the vgcreate command".


Pete

Pete
Thomas Greig
Regular Advisor

Re: max size of Logical Volume on hp-ux11i

well.. I'm using SAM to create the LV's..

kristin 48: vgdisplay -v /dev/vg03 | grep "Free PE"
Free PE 41717
Free PE 41717

kristin 49: vgdisplay -v /dev/vg03 | grep "Total PE"
Total PE 41717
Total PE 41717
Thomas Greig
Regular Advisor

Re: max size of Logical Volume on hp-ux11i

when doing lvcreate -L I get the errormsg:

[-A Autobackup]
[-x Extensibility]
[-e MaxPhysicalExtents]
[-l MaxLogicalVolumes]
[-p MaxPhysicalVolumes]
[-s PhysicalExtentSize]
[-g PhysicalVolumeGroupName]
VolumeGroupName PhysicalVolumePath...
"L": Illegal option.
kristin 54: lvcreate -l 41717 /dev/vg03
Logical volume "/dev/vg03/lvol1" has been successfully created with
character device "/dev/vg03/rlvol1".

I've created it with lvcreate -l number_of_free_PEs. then the size of the lv was approx. 1.3TB.. so now atleast I know the way round it..

cheers
Pete Randall
Outstanding Contributor

Re: max size of Logical Volume on hp-ux11i

By the way, I think you're right about needing a patch (or two - or more). You didn't mention what release you're running so all I can recommend is that you look into the latest SAM and LVM patches for your OS.


Pete

Pete
Jean-Luc Oudart
Honored Contributor

Re: max size of Logical Volume on hp-ux11i

See my reply in thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=748474

One Tb is current (tested) limit

Regards
Jean-Luc
fiat lux