Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

12 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. Filesystems, Disks and Memory

Volume Group Size

(0 Replies)
Discussion started by: ugxd14
0 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

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

9. 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

10. 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

11. Ubuntu

Renamed Volume Group name on Webmin while running samba server (oops)

Hi...I'm new to Linux and was working on a home server. I have it operational with Samba Share as my NAS system. Unfortunately, while I was on Webmin I changed the Logical Volume Group Name and now I can't find the data I had saved on my Samba Server. Can anyone help me recover those files? ... (0 Replies)
Discussion started by: pangil
0 Replies

12. 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