Use the vgrename command to rename the volume group name.
grename command can rename the name of the volume group.
vgrename [options] [old volume group path|old volume group name|old volume group UUID] [new volume group path|new volume group name]
-d enables debug mode
-t enables test mode
Rename the volume group /dev/vg1 to /dev/vg2.
[root@localhost ~]# vgrename /dev/vg1 /dev/vg2
Volume group "vg1" successfully renamed to "vg2"
Rename volume group vg1 to vg2.
[root@localhost ~]# vgrename vg1 vg2
Volume group "vg1" successfully renamed to "vg2"