1VGRENAME(8)                 System Manager's Manual                VGRENAME(8)
2
3
4

NAME

6       vgrename - rename a volume group
7

SYNOPSIS

9       vgrename  [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [-t|--test]
10       [-v|--verbose] OldVolumeGroup{Path|Name|UUID} NewVolumeGroup{Path|Name}
11

DESCRIPTION

13       vgrename renames an existing (see vgcreate(8) ) volume group from  Old‐
14       VolumeGroup{Name|Path|UUID} to NewVolumeGroup{Name|Path}.
15

OPTIONS

17       See lvm for common options.
18

Examples

20       "vgrename /dev/vg02 /dev/my_volume_group" renames existing volume group
21       "vg02" to "my_volume_group".
22
23       "vgrename vg02 my_volume_group" does the same.
24
25       "vgrename Zvlifi-Ep3t-e0Ng-U42h-o0ye-KHu1-nl7Ns4 VolGroup00_tmp"
26              changes the name of the Volume Group with UUID Zvlifi-Ep3t-e0Ng-
27              U42h-o0ye-KHu1-nl7Ns4 to "VolGroup00_tmp".
28
29              All the Volume Groups visible to a system need to have different
30              names.  Otherwise many LVM2 commands will refuse to run or  give
31              warning messages.
32
33              This   situation  could  arise  when  disks  are  moved  between
34              machines.  If a disk is connected and it contains a Volume Group
35              with  the  same  name  as  the Volume Group containing your root
36              filesystem the machine might not even boot correctly.   However,
37              the  two  Volume  Groups should have different UUIDs (unless the
38              disk was cloned) so you can rename one of the conflicting Volume
39              Groups with vgrename.
40
41
42       SEE ALSO
43              lvm(8), vgchange(8), vgcreate(8), lvrename(8)
44
45
46
47Sistina Software UK    LVM TOOLS 2.02.84(2) (2011-02-09)           VGRENAME(8)
Impressum