- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can i see the totall allocatable free space
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-07-2005 09:50 AM
тАО10-07-2005 09:50 AM
How can i see the totall allocatable free space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2005 10:05 AM
тАО10-07-2005 10:05 AM
Re: How can i see the totall allocatable free space
you will get
...
Max PV x
Max PE per PV y
PE Size (Mbytes) z
...
z*y*z gives you the allocatable/addressable size in the volume.
But if you want to know about the available free space, you have to look for
PE Size (Mbytes) x
Free PE y
and calculate that.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2005 04:47 PM
тАО10-07-2005 04:47 PM
Re: How can i see the totall allocatable free space
# vgdisplay /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
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 4026
Free PE 314
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
As well,
#vgdisplay -v
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2005 06:09 PM
тАО10-07-2005 06:09 PM
Re: How can i see the totall allocatable free space
Free space available on a vg = Free PE * PE Size (Mbytes). Thease can be obtained from the vgdisplay
Take the following example
root@HP in />#vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8680
Alloc PE 6180
Free PE 2500
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Here Free PE = 2500 and PE Size=8MB
So the Max Size of a volume which can be created on this VG is 2500*8=20,000MB.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2005 07:51 PM
тАО10-07-2005 07:51 PM
Re: How can i see the totall allocatable free space
vgdisplay vg00 | awk '/PE Size \(Mbytes\)/{s=$4}; /Free PE/{f=$3}; END{print s*f" Mbytes free space available on volume group."}'
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2005 02:13 PM
тАО10-09-2005 02:13 PM
Re: How can i see the totall allocatable free space
#vgdisplay -v vg_name|more
You will see
Total PE xxxx
Alloc PE yyyy
Free PE zzzz
Free PE is your free space. Multiply with "PE Size (Mbytes)" you will have values in MB
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2005 03:05 PM
тАО10-09-2005 03:05 PM
Re: How can i see the totall allocatable free space
Simply verify the output of the vgdisplay for which you have extend the VG. Find out the value of "Free PE" and "PE Size".The following value gives your desired output.
Free PE X PE Size = Extendable free size in MB.
:; vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 8680
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Cheers
Manu