Operating System - HP-UX
1752781 Members
5817 Online
108789 Solutions
New Discussion юеВ

Re: size of logical volume ??

 
SOLVED
Go to solution
David Willams
Super Advisor

size of logical volume ??

How will I find the size of the below VG/LV

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 20481
VGDA 2
PE Size (Mbytes) 4
Total PE 20480
Alloc PE 20480
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 1310784m
VG Max Extents 327696
4 REPLIES 4
Torsten.
Acclaimed Contributor
Solution

Re: size of logical volume ??

Use "vgdisplay -v ..." and scroll down or use "lvdisplay -v ...".

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

Re: size of logical volume ??

Hi David:

# 4 * 20480 = 81920 MB

...or PE_SIZE * Alloc_PE

Regards!

...JRF...
Raj D.
Honored Contributor

Re: size of logical volume ??

David,

> size of logical volume ??

- The output you given that is from vgdisplay. You will get the vgsize.
That is the vg size is : PEsize* Total PE = 4 * 20480 = 81920MB or 80GB.

- To find out the lv size, (As we can see there is only 1 lv for this vg ) .
Use # vgdisplay -v and see the LV name and Size. Multiply PE*4 = LV Size.


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
David Willams
Super Advisor

Re: size of logical volume ??

thank you