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)
Check Out this Related Man Page
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}.
OPTIONS
See lvm for common options.
Examples
"vgrename /dev/vg02 /dev/my_volume_group" renames existing volume group "vg02" to "my_volume_group".
"vgrename vg02 my_volume_group" does the same.
"vgrename Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 VolGroup00_tmp"
changes the name of the Volume Group with UUID Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 to "VolGroup00_tmp".
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.
SEE ALSO
lvm(8), vgchange(8), vgcreate(8), lvrename(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGRENAME(8)
I won't to remove a filesystem /dev/vg01/lvo1 and copy the same to different vg ex:- /dev/vg02.
Pls give the required step to be followed to complete the said process (3 Replies)
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)
I have a Volume group on one of my production box. The no of PV's within the same is 16 which I need to increase.
How can this be done ?
Can this be done online or do we need a downtime for this ?
Please provide the exact details and steps for this activity urgently, as need to do this on my... (3 Replies)
Hello All,
I Am A New Member To This Group.
I Want To Know How Can We Create Single Volume Group Using 2 Hard Disks.
As We Require More Data To Be Stored We Need To Add A Hard Disk,but I Have A Doubt Whether We Can Increase The Size Of A Logical Volume Mounted On A Volume Group By Adding A... (5 Replies)
Hello all. I have a perplexing problem
I have an AIX 5.1 system on an EMC SAN.
This system had been on a CX400 SAN for several years. The system was migrated to a CX700 just over a week ago. The migration consisted of utilizing on of the HBAs in the system and connecting to both SANs
... (9 Replies)
Hello everyone
I have a doubt about how many paging space can have in the same disk.
lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging00 hdisk0 rootvg 3072MB 1 yes yes lv
hd6 hdisk0 ... (4 Replies)
Hi,
I am having 2 volume groups rootvg (Only for os),datavg(only for data) both are from san using different LUN.
out of these my rootvg was crashed though I have reinstalled os.
can you please suggest me now how datavg will be visible, wheather I have recreate VG?
Kindly suggest me. (5 Replies)
Hi experts,
I'm trying to find otu the list of Volume groups and LUNs. I'm not able to use the following commands in Linux.
1. lvdisplay
2. pvdisplay
3. vgdisplay.
Error: Command not found.
Your help is appreciated!
Thanks, (6 Replies)
I am trying trying to make a kickstart startup script and it keeps on hanging. It keeps on complaining about line 23. Can anyone tell me what my problem is?
# Kickstart file automatically generated by anaconda.
#version=DEVEL
#url --url... (3 Replies)
Good afternoon all,
I'll probably confuse everyone as I'm a Windows guy dealing with AIX 6.1 and can't quite figure out how to do something. I have a P520 server running 2 LPARs and we have an IVM (not HMC).Within the IVM under Virtual Storage Management, when I check the Physical Volumes, I have... (4 Replies)
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)
Our SAN administrator decided to unpresent then destroy LUN's we were actively using as a volume group (all PV's in said volume group). Now every time I do a pvscan or whatever it complains about I/O errors trying to access those PV's. How do I get it to forget the VG existed completely? vgreduce... (7 Replies)