How to check size of Volume Group


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to check size of Volume Group
# 1  
Old 11-27-2001
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  
Old 11-27-2001
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  
Old 11-27-2001
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.



Smilie
# 4  
Old 11-27-2001
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  
Old 11-27-2001
MySQL 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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

2. AIX

Restvg does not assign the correct PP size to volume group

hello, i am running an AIX6.1 machine and i am trying to restore a volume group that i backed up using mkvgdata command from another server. although i checked file .data and i make sure that PP size for this volume group is 128, when i run restvg command to restore it, it fails because it... (2 Replies)
Discussion started by: omonoiatis9
2 Replies

3. AIX

Check status of a volume group

Hi huys, Sorry for my bad english, i'm french :o . I've got a little question : is there a way to check status of a VG on aix 6.1 ? I want to know if a VG is locked or not... I can do a "lsvg -Ll rootvg" for example, but if this VG is already locked, the process waits without gives me the... (2 Replies)
Discussion started by: akorx
2 Replies

4. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

5. UNIX for Dummies Questions & Answers

Unable to reduce the size of volume group?

My volume group of size 200 gb. out of which only 100 gb is used by 2 logical volumes /dev/vg00/lvol0 and /dev/vg00/lvol0 respectively (both are 50 gb each). Whenever i use vgreduce command to reduce the size of volume group i get below error. # vgreduce vg00 -a Physical volume... (16 Replies)
Discussion started by: pinga123
16 Replies

6. HP-UX

Increase Size of a Volume Group

Hi I have hp-ux 10.20 I have have my operating system VG of 7 GB in a 36Gb disk. So I have like 29GB of unused disk space. There is any way to increase my VG size, or to add another VG in the same disk so I can use all the disk space? Another question, what is the maximun size that a VG can ... (10 Replies)
Discussion started by: pmoren
10 Replies

7. Red Hat

Check disks not in a volume group?

Hello, How can I obtain a lists of disks with their size (anytype: SAN LUNs, internal disks, etc.) attached to the system and not being extended inside a volume group? The purpose of this list is to be part of a function of a script that I'm doing in order to resize filesystems and in the... (6 Replies)
Discussion started by: asanchez
6 Replies

8. AIX

Volume Group - PP Size

Hi Friends- We know that the Max PP size in a Normal VG and Big VG is 1 GB and in case of scalable VG it is 128 G. My Questions: 1) What is the min PP size allowed for Normal VG, Big VG and Scalable VG? 2) Why is the max PP Size in Normal and Big VG is 1 G and 128 G in... (1 Reply)
Discussion started by: deshaipet
1 Replies

9. AIX

Check quorum for volume group

Hi all, I would like to ensure that a volume group has an effective quorum setting of 1 (or off). I know you can change the quorum setting using the chvg -Q command but want to know if the setting has been changed before the vg was varied on or a reboot. In other words how can I ensure that... (3 Replies)
Discussion started by: backslash
3 Replies

10. AIX

Volume Group Size

Hello, Can somebody please help. I'm able to view volume groups by using the command "lsvg", how can I view what space is available to that particular volume group Many Thanks (3 Replies)
Discussion started by: ugxd14
3 Replies
Login or Register to Ask a Question