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.
10 More Discussions You Might Find Interesting
1. AIX
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
2. AIX
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
3. AIX
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
4. Red Hat
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
5. HP-UX
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
6. UNIX for Dummies Questions & Answers
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
7. UNIX for Dummies Questions & Answers
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
8. AIX
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
9. AIX
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
10. Red Hat
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
LEARN ABOUT CENTOS
vgrename
VGRENAME(8) System Manager's Manual VGRENAME(8)
NAME
vgrename - rename a volume group
SYNOPSIS
vgrename [-A|--autobackup {y|n}] [-d|--debug] [-h|-?|--help] [-t|--test] [-v|--verbose] OldVolumeGroup{Path|Name|UUID} NewVol-
umeGroup{Path|Name}
DESCRIPTION
vgrename renames an existing (see vgcreate(8)) volume group from OldVolumeGroup{Name|Path|UUID} to NewVolumeGroup{Name|Path}.
All the Volume Groups visible to a system need to have different names. Otherwise many LVM2 commands will refuse to run or give warning
messages.
This situation could arise when disks are moved between machines. If a disk is connected and it contains a Volume Group with the same name
as the Volume Group containing your root filesystem the machine might not even boot correctly. However, the two Volume Groups should have
different UUIDs (unless the disk was cloned) so you can rename one of the conflicting Volume Groups with vgrename.
OPTIONS
See lvm(8) for common options.
Examples
Renames existing volume group vg02 to my_volume_group:
vgrename /dev/vg02 /dev/my_volume_group
or
vgrename vg02 my_volume_group
Changes the name of the Volume Group with UUID
Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 to VolGroup00_tmp:
vgrename Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 VolGroup00_tmp
SEE ALSO
lvm(8), vgchange(8), vgcreate(8), lvrename(8)
Sistina Software UK LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) VGRENAME(8)