- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to check the size of vg00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:50 PM
тАО10-26-2005 06:50 PM
I have vg00 vg i want to check the disk space of this vg,pls tell how to check
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:54 PM
тАО10-26-2005 06:54 PM
Re: how to check the size of vg00
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:55 PM
тАО10-26-2005 06:55 PM
Re: how to check the size of vg00
vgdisplay -v vg00
Free space (MB) = free PE x 4 PE size
Check this for each Physical volume
LV size in MB is given for each lvol
If used PV = 2 or greater, then you have a mirrored disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:55 PM
тАО10-26-2005 06:55 PM
Re: how to check the size of vg00
look at the output and note these values
PE size
Total PEs
multiply these two numbers the result is tha total capacity of the vg00 in megabytes.
if you want to calculate free space, instead of Total PEs, use Free PEs.
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:55 PM
тАО10-26-2005 06:55 PM
Re: how to check the size of vg00
Just run the cmd like
# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 6
Open LV 6
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 8
Total PE 4340
Alloc PE 4340
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
In the output observe for Alloc PE (eg:4340), and PE Size (Mbytes).
Caluclate now
actual size=Alloc PE * PE Size (Mbytes)
CHeers,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:56 PM
тАО10-26-2005 06:56 PM
Re: how to check the size of vg00
#vgdisplay -v /dev/vg00
will give you all details.
Check
PE Size (Mbytes) 16
Total PE 17496
Alloc PE 14256
Free PE 3240
Total size of vg00 is
=Total PE * PE Size
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:59 PM
тАО10-26-2005 06:59 PM
Re: how to check the size of vg00
Look for Total PE and PE Size (Mbytes)
Actual Size = Total PE * PE Size (Mbytes)
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:59 PM
тАО10-26-2005 06:59 PM
Re: how to check the size of vg00
vgdisplay vg00 | awk '/PE Size \(Mbytes\)/{s=$4}; /Total PE/{f=$3}; END{print s*f" Mbytes total space on volume group."}'
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 07:00 PM
тАО10-26-2005 07:00 PM
SolutionUse 'vgdisplay' command :
# vgdisplay /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 14
Open LV 14
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 32
Total PE 8748
Alloc PE 1830
Free PE 6918
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
From the example above, the size of vg00 is [Alloc PE x Free PE] = 1830 x 32 = 58560 Mbytes.
You need also to check if the vg00 is mirrored or not. Check by using lvdisplay onto the logical volume at vg00.
# lvdisplay /dev/vg00/lvol1
If mirrored, you need to devide it by the number of mirror + 1.
Let say if from lvdisplay, you find mirror copies is 1, so the vg00 size above is 58560 / (1+1) = 58560 / 2 = 29280 MBytes.
The condition above if all logical volume in vg00 is mirrored.
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 08:36 PM
тАО10-26-2005 08:36 PM