The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Moving a Logical Volume from one Volume Group to Another krisw AIX 2 07-14-2008 07:48 AM
how to export a volume group docaia UNIX for Dummies Questions & Answers 3 01-22-2008 07:38 PM
Check quorum for volume group backslash AIX 3 09-24-2007 05:01 PM
LVM - Extending Logical Volume within Volume Group ghimanshu UNIX for Advanced & Expert Users 3 07-26-2007 07:39 AM
Volume Group Size ugxd14 AIX 3 09-11-2006 11:26 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-27-2001
s_aamir s_aamir is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 52
How to check size of Volume Group

Did anyone knows how to check size/usage of a Volume Group in AIX 4.3.3?
  #2 (permalink)  
Old 11-27-2001
wizard wizard is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 60
Use lsvg. It will give you # of physical partitions and physical partition size. You can then multiply to get the total size. I'm not sure what you mean by usage of a volume group. The lsvg command will also show you the state of the volume group if that's what you're looking for. If not, please post what you mean by "usage" of the volume group.
  #3 (permalink)  
Old 11-27-2001
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Some fairly common unix commands are "df" and "du" for file systems.

I don't know about volume groups, you might try looking in /usr/sbin or /sbin for executables that you can do a "man" on.



  #4 (permalink)  
Old 11-27-2001
s_aamir s_aamir is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 52
Thanks a lot.
Here is what I got on my system for rootvg:

LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 64 128 2 open/syncd N/A
hd8 jfslog 1 2 2 open/syncd N/A
hd4 jfs 4 8 2 open/syncd /
hd2 jfs 331 662 2 open/syncd /usr
hd9var jfs 8 16 2 open/syncd /var
hd3 jfs 8 16 2 open/syncd /tmp
hd1 jfs 8 16 2 open/syncd /home
paging00 paging 64 128 2 open/syncd N/A
hd7 raw 16 16 1 open/syncd N/A
lv00 jfs 2 4 2 open/syncd /xrsa
lv01 jfs 25 50 2 open/syncd /nsr

How can I count Physical Partitions.
usage means much volume is in use my system.
Thanks a lot for both replys.
  #5 (permalink)  
Old 11-27-2001
s_aamir s_aamir is offline
Registered User
  
 

Join Date: Nov 2001
Posts: 52
Thumbs up Re: How to check size of Volume Group

Quote:
Originally posted by s_aamir
Did anyone knows how to check size/usage of a Volume Group in AIX 4.3.3?
Thanks everyone, I got what I want.
Wizard I used lsvg and it gave the a table, then according to Physical Partitions (PP) I figured out the total size.
Thanks for your help.
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0