4.3.12. Renaming a Volume Group

4.3.12. Renaming a Volume Group

4.3.12. Renaming a Volume Group

Use the vgrename command to rename an existing volume group.

Either of the following commands renames the existing volume group vg02 to my_volume_group

vgrename /dev/vg02 /dev/my_volume_group
vgrename vg02 my_volume_group