1832453 Members
3418 Online
110042 Solutions
New Discussion

Re: Create LV with 2TB

 
SOLVED
Go to solution
AZayed
Super Advisor

Create LV with 2TB

Dears,
Good day,

I have HP-UX 11i v2 running vxfs v5, trying to create a logical volume with 2 TB of size but I'm getting the following error :

The size entered exceeds the allowable limit that can be used with this type of file system. The size has been rounded down to the nearest multiple of 64 Mbytes (the physical extent size) that does not exceed the limit.

Is there a limitation?

Thanks
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: Create LV with 2TB

Shalom,

Few possibilities here:

1) You simply exceed the maximum size for the OS. This has nothing to do with vxfs, you have not gotten to that step yet.

2) The Volume group may be set up with default max PV of 255, which poorly distributes available extents and limits your maximum size. For 11.23 you probably have to rebuild the volume group, setting max pv to a lower, more realistic figure in the vgcreate command. You may also want to make the extents bigger. With 11.31 you can actually modify the volume group without destroying it.

Can you provide the exact command syntax you used and cut and paste the error message.

Also post: vgidsplay -v

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
James R. Ferguson
Acclaimed Contributor

Re: Create LV with 2TB

Re: Create LV with 2TB

You certainly don't have VxFS/JFS v5 on 11iv2/11.23, it is only available for 11iv3/11.31. I suspect what you mean is that you have a version of VxFS capable of supporting Disk Layout Version (DLV) 5 (Probably VxFS/JFS 3.5).

Do you get this message when creating the LV, or creating the filesystem on the LV? It's not clear...

Anyway, JRF gave you the limits for LVM - the limits for VxFS on 11.23 are in this doc:

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01919997/c01919997.pdf

HTH

Duncan

I am an HPE Employee
Accept or Kudo
chris huys_4
Honored Contributor

Re: Create LV with 2TB

> You certainly don't have VxFS/JFS v5 on
> 11iv2/11.23, it is only available for
> 11iv3/11.31.

From one fellow HP engineer to another one.. ;)

Sure vxfs 5.0 is available on HP-UX 11.23.

Look at this..

# more /etc/motd

* LVM Bootpath : 0/4/0/0.74.30.0.0.0.1 *
* HPUX 11.23.0706 MCOE + CFS 5.0 T2797CA A.02.00*

Its not proof that it exists as currently my testsystem is booted from another sanbootdisk.. but I think you can look it up by searching for T2797CA. (if cfs 5.0 exists on 11.23, vxfs 5.0 also exists on 11.23)

> Anyway, JRF gave you the limits for LVM -
> the limits for VxFS on 11.23 are in this
> doc:
The limits in the doc actually show that even vxfs is supported to up to a filesize of 32TB.

AZayed problem, I think, is that the default without LVM patches installed, size of a LVM lvol is 2TB. There are patches to get that LVM size up to 16TB.

see

docs.hp.com

http://www.hp.com/go/hpux-core-docs

HP-UX 11i Volume Management (LVM/VxVM) Software

HP-UX LVM Supported Limits (September 2008)

http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02019992/c02019992.pdf

Greetz,
Chris


Re: Create LV with 2TB

Chris,

D'oh! (removes head from ***)

You're right of course, as a quick check of one of our internal SW depots showed:

Base-VxFS-50 Veritas File System Bundle 5.0 for HP-UX B.05.00 HP-UX_B.11.23_IA/PA

For some reason I had it in my head that 4.1 was the last version on 11.23...

AZayed,

Apologies - please ignore my previous statement...

Duncan

I am an HPE Employee
Accept or Kudo
AZayed
Super Advisor

Re: Create LV with 2TB

Hi folks,

Thanks a lot for your replays, I'm using SAM to create the new volume. I can recreate it again without any issues. I'm using the default values for this.


Thanks
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
AZayed
Super Advisor

Re: Create LV with 2TB

Hi All,

I'm still trying to create the LV with 2 TB of size but with no hope.

Should I change the default settings?

Maximum Physical Extents: 65504
Maximum Logical Volumes: 255
Maximum Physical Volumes: 16
Physical Extent Size (Mbytes): 32
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Shibin_2
Honored Contributor

Re: Create LV with 2TB

Try by using higher PE size.
Regards
Shibin
AZayed
Super Advisor

Re: Create LV with 2TB

Hi, I tried to change it to 64 but with no luck. However, I think it should work to allocate LV with 2TB.

By the way, I was searching and I found that I need to install these patches to make LVM read 16TB on hp-ux v2, should I install them?

Version 1.0 Volume groups supports upto 2TB size of LV in 11.11 and 11.23. In 11.23 size of LV can be upto 16TB with superseding Patshes PHCO_36744, PHKL_36745 and PHCO_37939 installed.

Thanks
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
AZayed
Super Advisor

Re: Create LV with 2TB

Hi,

This is my try, I cannot create 2TB LV.

#
# lvdisplay /dev/vgDATA01/DATA01
--- Logical volumes ---
LV Name /dev/vgDATA01/DATA01
VG Name /dev/vgDATA01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1048544
Current LE 32767
Allocated PE 32767
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default


#
# vgdisplay -v /dev/vgDATA01
--- Volume groups ---
VG Name /dev/vgDATA01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 65504
VGDA 2
PE Size (Mbytes) 32
Total PE 65495
Alloc PE 32767
Free PE 32728
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.
Ismail Azad
Esteemed Contributor
Solution

Re: Create LV with 2TB

Hey A.Zayed,

Guess this is another case where we play at the boundary....

Some rough calculations regarding your problem... FYI my math's always been not upto the mark....

Capacity = 65495 * 32 = 2095840 MB.

That's the pool of space you can make which is what your V.G can hold.

Looks like you want to accomodate that pool with just one partition under scrutiny.

Converting to T.B = 2095840/1048576 = 1.9987488TB.

Well that is not 2 TB ! Well just almost....

Well if you are adamant on 2TB , I must say you are point something something short.

How about you try something like...

lvextend -L 1900000 /dev/vgDATA01/DATA01.

This should work.. That would be 1.9 TB of space ofcourse approximately. :)

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
AZayed
Super Advisor

Re: Create LV with 2TB

Thanks a lot for your help.
Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don't quit.