VGRENAME(8)                System Manager's Manual               VGRENAME(8)

NAME         top

       vgrename — rename a volume group

SYNOPSIS         top

       vgrename [-A|--autobackup {y|n}] [--commandprofile ProfileName]
       [-d|--debug] [-h|-?|--help] [--reportformat {basic|json}] [-t|--test]
       [-v|--verbose] OldVolumeGroup{Path|Name|UUID}

DESCRIPTION         top

       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         top

       See lvm(8) for common options.

Examples         top

       Renames existing volume group vg02 to my_volume_group:

       vgrename /dev/vg02 /dev/my_volume_group


       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         top

       lvm(8), vgchange(8), vgcreate(8), lvrename(8)

COLOPHON         top

       This page is part of the lvm2 (Logical Volume Manager 2) project.
       Information about the project can be found at 
       ⟨⟩.  If you have a bug report for this
       manual page, send it to  This page was obtained
       from the project's upstream Git repository 
       ⟨⟩ on 2017-03-13.  If you
       discover any rendering problems in this HTML version of the page, or
       you believe there is a better or more up-to-date source for the page,
       or you have corrections or improvements to the information in this
       COLOPHON (which is not part of the original manual page), send a mail

Sistina Software UKLVM TOOLS 2.02.169(2)-git (2016-11-30)        VGRENAME(8)