Logical Volume Issue

 
SOLVED
Go to solution
Indrajit Bhagat
Regular Advisor

Logical Volume Issue

ml056-root> vgdisplay -v /dev/vg_wasdb_01
--- Volume groups ---
VG Name /dev/vg_wasdb_01
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 6
Open LV 6
Max PV 255
Cur PV 50
Act PV 50
Max PE per PV 15800
VGDA 100
PE Size (Mbytes) 32
Total PE 86750
Alloc PE 83720
Free PE 3030
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg_wasdb_01/lv_archive
LV Status available/syncd
LV Size (Mbytes) 82912
Current LE 2591
Allocated PE 2591
Used PV 2

LV Name /dev/vg_wasdb_01/lv_backup
LV Status available/syncd
LV Size (Mbytes) 459840
Current LE 14370
Allocated PE 14370
Used PV 11

LV Name /dev/vg_wasdb_01/lv_data00
LV Status available/syncd
LV Size (Mbytes) 23552
Current LE 736
Allocated PE 736
Used PV 2

LV Name /dev/vg_wasdb_01/lv_data01
LV Status available/syncd
LV Size (Mbytes) 2097120
Current LE 65535
Allocated PE 65535
Used PV 40

LV Name /dev/vg_wasdb_01/lv_redo
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 160
Allocated PE 160
Used PV 1

LV Name /dev/vg_wasdb_01/lv_wasdb
LV Status available/syncd
LV Size (Mbytes) 10496
Current LE 328
Allocated PE 328
Used PV 1




--- Physical volumes ---
PV Name /dev/dsk/c15t12d7
PV Name /dev/dsk/c14t12d7 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t13d0
PV Name /dev/dsk/c15t13d0 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t13d1
PV Name /dev/dsk/c14t13d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t13d2
PV Name /dev/dsk/c15t13d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t13d3
PV Name /dev/dsk/c14t13d3 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t13d4
PV Name /dev/dsk/c15t13d4 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t13d5
PV Name /dev/dsk/c14t13d5 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t13d6
PV Name /dev/dsk/c15t13d6 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t13d7
PV Name /dev/dsk/c14t13d7 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t14d0
PV Name /dev/dsk/c15t14d0 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t14d1
PV Name /dev/dsk/c14t14d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t14d2
PV Name /dev/dsk/c15t14d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t14d3
PV Name /dev/dsk/c14t14d3 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t14d4
PV Name /dev/dsk/c15t14d4 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t14d5
PV Name /dev/dsk/c14t14d5 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t14d6
PV Name /dev/dsk/c15t14d6 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t14d7
PV Name /dev/dsk/c14t14d7 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t15d0
PV Name /dev/dsk/c15t15d0 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t15d1
PV Name /dev/dsk/c14t15d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t15d2
PV Name /dev/dsk/c15t15d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t15d3
PV Name /dev/dsk/c14t15d3 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t15d4
PV Name /dev/dsk/c15t15d4 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t15d5
PV Name /dev/dsk/c14t15d5 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t15d6
PV Name /dev/dsk/c15t15d6 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t15d7
PV Name /dev/dsk/c14t15d7 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c13t0d0
PV Name /dev/dsk/c12t0d0 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t0d1
PV Name /dev/dsk/c13t0d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c13t0d2
PV Name /dev/dsk/c12t0d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t0d3
PV Name /dev/dsk/c13t0d3 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c13t0d4
PV Name /dev/dsk/c12t0d4 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t0d5
PV Name /dev/dsk/c13t0d5 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c13t0d6
PV Name /dev/dsk/c12t0d6 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t0d7
PV Name /dev/dsk/c13t0d7 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c13t1d0
PV Name /dev/dsk/c12t1d0 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t1d1
PV Name /dev/dsk/c13t1d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t6d0
PV Name /dev/dsk/c13t6d0 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t6d1
PV Name /dev/dsk/c13t6d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t6d2
PV Name /dev/dsk/c13t6d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t6d3
PV Name /dev/dsk/c13t6d3 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t6d4
PV Name /dev/dsk/c13t6d4 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t6d5
PV Name /dev/dsk/c13t6d5 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c12t6d6
PV Name /dev/dsk/c13t6d6 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t8d1
PV Name /dev/dsk/c14t8d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t8d2
PV Name /dev/dsk/c14t8d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t1d7
PV Name /dev/dsk/c15t1d7 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t2d0
PV Name /dev/dsk/c14t2d0 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t2d1
PV Name /dev/dsk/c15t2d1 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c14t2d2
PV Name /dev/dsk/c15t2d2 Alternate Link
PV Status available
Total PE 1735
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t2d3
PV Name /dev/dsk/c14t2d3 Alternate Link
PV Status available
Total PE 1735
Free PE 1295
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c15t2d4
PV Name /dev/dsk/c14t2d4 Alternate Link
PV Status available
Total PE 1735
Free PE 1735
Autoswitch On
Proactive Polling On


There are few logical volume with Current LE & Allocated PE are same, Is there any problem in increasing such logical volume?
Example :

LV Name /dev/vg_wasdb_01/lv_data01
LV Status available/syncd
LV Size (Mbytes) 2097120
Current LE 65535
Allocated PE 65535
Used PV 40


13 REPLIES 13
Steven E. Protter
Exalted Contributor
Solution

Re: Logical Volume Issue

Shalom,

All of your logical volumes have the same number of current versus allocated PE's

Alloc PE 83720
Free PE 3030

You can increase logical volumes in this volume group by up to 3030 PE without addition of new disk.

Your max physical volumes of 255 is rather high. You might want if you are running 11.31 to reduce that figure to increase flexibility within the volume group.

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
Indrajit Bhagat
Regular Advisor

Re: Logical Volume Issue

Can we increase this Logical volume although having Free PE

LV Name /dev/vg_wasdb_01/lv_data01
LV Status available/syncd
LV Size (Mbytes) 2097120
Current LE 65535
Allocated PE 65535
Used PV 40

Torsten.
Acclaimed Contributor

Re: Logical Volume Issue

Current LE = Allocated PE

usually means not LVM mirrored,


2x Current LE = Allocated PE

usually means LVM mirrored (use lvdisplay to check).



You can extend as long as you don't exceed the maximum and you have enough free extends.

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!   
Indrajit Bhagat
Regular Advisor

Re: Logical Volume Issue

I was trying to extend the above logical volume by one PE, I am getting following error:

ml056-root> lvextend -L 2097152 /dev/vg_wasdb_01/lv_data01
lvextend: "LogicalExtentsNumber" is bigger than the maximum value allowed.

What would be reason behind it
g3jza
Esteemed Contributor

Re: Logical Volume Issue

Looks like a 2TB limitation for LV. Your LV is just too big.
Indrajit Bhagat
Regular Advisor

Re: Logical Volume Issue

What is solution to this problem..Is there any way we can resolve it.
Torsten.
Acclaimed Contributor

Re: Logical Volume Issue

Is it 11.23?


You probably need some patches:

following or superseding patches:-
PHCO_36744, PHKL_36745,
PHCO_37939

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!   
g3jza
Esteemed Contributor

Re: Logical Volume Issue

Indrajit Bhagat
Regular Advisor

Re: Logical Volume Issue

Yes it is 11.23