1833771 Members
2260 Online
110063 Solutions
New Discussion

Re: LV greater than 2TB

 
SOLVED
Go to solution
Srinikalyan
Regular Advisor

LV greater than 2TB

Hi,

HP-UX 11iv2
Online JFS

I am able to create a logical volume of size greater than 2TB if my PE Size is 256. Is it possible to create LV of 2TB if PE size is 32? If not what's the reason?
--- Volume groups ---
VG Name /dev/vg_ex
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 12
Open LV 12
Max PV 255
Cur PV 93
Act PV 93
Max PE per PV 1016
VGDA 186
PE Size (Mbytes) 256
Total PE 75423
Alloc PE 75423
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

LV Name /dev/vg_ex/lv1
LV Status available/syncd
LV Size (Mbytes) 5273600
Current LE 20600
Allocated PE 20600
Used PV 27


Thanks in advance,
Srini
11 REPLIES 11
Stephan.
Honored Contributor
Srinikalyan
Regular Advisor

Re: LV greater than 2TB

I can't find the required information from the document. I need to know Is it possible to create LV of 2TB if PE size is 32?
Torsten.
Acclaimed Contributor

Re: LV greater than 2TB

"I can't find the required information from the document"

So you need to read it again (page 3).

Max size of a LV with 11.23 without several patches: 2TB, with patches 16TB.

Max LV size with LVM2.1 and 11.31 is 257TB.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: LV greater than 2TB

Shalom,

Max PV 255

Your volume group is configured to default.

vgexport it, create it again, set -p 10 or some reasonable number.

You will need to do this to get enough PE's to allocate after you finish patching.

This post does not contradict what is posted above. It is complementary.

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: LV greater than 2TB

Hi:

> Is it possible to create LV of 2TB if PE size is 32?

If my math is correct, not quite. Given:

2*1099511627776/32768000

...or 2TB/32MB PE size ~ 67108 extents

...which exceeds the maxiumum number of extents for an LVM version-1 of 65535.

Regards!

...JRF...
Roopesh Francis_1
Trusted Contributor

Re: LV greater than 2TB

65,535 is maximum numbers of LE in a volume group. if your PE size is 32 ,the maximum size of a LV will be
65535*32=1.999GB

Thanks,
Roopesh Francis_1
Trusted Contributor
Solution

Re: LV greater than 2TB

65,535 is maximum number of LE in a volume group. if your PE size is 32 ,the maximum size of a LV will be
65535*32=1.999GB

Thanks,
Srinikalyan
Regular Advisor

Re: LV greater than 2TB

Thanks everyone.
Roopesh,
If my PE size is 64Mb, am I able to create LV of 64*65535= 4TB.
Roopesh Francis_1
Trusted Contributor

Re: LV greater than 2TB

you may create upto 16TB Size of a LV in 11.23 with the following or superseding patches:-
PHCO_36744, PHKL_36745, PHCO_37939.
please check above link which provided by svo
http://docs.hp.com/en/6054/LVM_Limits_White_Paper_V4.pdf
Srinikalyan
Regular Advisor

Re: LV greater than 2TB

Yes Roopesh.
We have installed those patches for creating the LV till 16TB. I think eventhough we have these patches installed, for creating the file system of greater than 2TB we should have Online JFS.
My question arose when we tried to create the LV of size 5TB in another system with both these items installed. LV creation was not successful because of PE size 32MB.
James R. Ferguson
Acclaimed Contributor

Re: LV greater than 2TB

Hi Srini:

> I think even though we have these patches installed, for creating the file system of greater than 2TB we should have Online JFS.

The limitations are described here:

http://docs.hp.com/en/5971-2383/5971-2383.pdf

Regards!

...JRF...