Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vgrename(8) [opensolaris 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)

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to check size of Volume Group

Did anyone knows how to check size/usage of a Volume Group in AIX 4.3.3? (4 Replies)
Discussion started by: s_aamir
4 Replies

2. HP-UX

HP UX Disk Mirror

Being somewhat extremely new to Unix, I have just had a system crash One of my Volume Groups has crashed However, this Volume Group is actually mirrored How do I switch to use the mirrored copy? Any assistance greatly appreciated Thanks (1 Reply)
Discussion started by: cobdeng
1 Replies

3. HP-UX

file system creation

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)
Discussion started by: kamlesh_k
3 Replies

4. AIX

NIM Server

Is anybody using a NIM server for DR recovery purposes? If so, how are you handling Volume Groups outside of root? (0 Replies)
Discussion started by: kd30185
0 Replies

5. AIX

Volume Group Understanding

Looking for help in understanding volume groups. On the internal disks is it possible to have other volume groups other then root vg? If so would the other vg be captured in the mksysb? Any documentation links that you can point me to on volume groups and such woudl be welcomed. Thanks (1 Reply)
Discussion started by: cogsworth12000
1 Replies

6. UNIX for Advanced & Expert Users

How to increase PV's in a Volume group ?

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)
Discussion started by: kpatel786
3 Replies

7. HP-UX

How Can I Create A Volume Group With Two Hard Disks On Hp-ux C-3750

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)
Discussion started by: bala_mes
5 Replies

8. AIX

Volume Groups and the SAN

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)
Discussion started by: mhenryj
9 Replies

9. AIX

SAN storage and speed

I have 3 SAN disks of 1 TB each. Is it more efficient to make 1 large Volume group with multiple LV's or 3 Volume Groups with 1 LV each. The SAN disk is where all my backups will be dumped.:confused: (1 Reply)
Discussion started by: daveisme
1 Replies

10. UNIX for Advanced & Expert Users

Volume problem

WE are working on Mac and our end user getting a problem. WE are thinking, it due to the volume related. He changed his HD name and anyhow the same disk is replicated on the system but have not any mount point. Anyone knows how to do it on my system. Or anything related on it. The disk... (1 Reply)
Discussion started by: Saurabh78
1 Replies

11. AIX

paging space

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)
Discussion started by: lo-lp-kl
4 Replies

12. AIX

Recreation of Volume Group

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)
Discussion started by: manoj.solaris
5 Replies

13. AIX

Create new Volume Group

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)
Discussion started by: Spellbound
4 Replies

14. AIX

Copy a Volume Group

Hi: I have an aix lpar with a vgroup that has 12 disks for a total of 1.9 TB assign and i want to move that data to a new vgroup on the same machine that has (6) disks for a total of 2.5 TB. What would be the best way to copy the actual vg with (12) disks to the new vg with (6) disks? We need... (2 Replies)
Discussion started by: rvalentin
2 Replies

15. AIX

Need help on Volume group for AIX 6.1

Please let me know which volume group will be suitable for creation of 5 TB for datavg norma,big,scalable (4 Replies)
Discussion started by: manoj.solaris
4 Replies