Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

To rename a disk group during import, use the following command:
# vxdg [-t] -n newdg import diskgroup
If the -t option is included, the import is temporary and does not persist across
reboots. In this case, the stored name of the disk group remains unchanged on its
original host, but the disk group is known by the name specified by newdg to the
importing host. If the -t option is not used, the name change is permanent.
For example, this command temporarily renames the disk group, mydg, as mytempdg
on import:
# vxdg -t -n mytempdg import mydg
To rename a disk group during deport, use the following command:
# vxdg [-h hostname] -n newdg deport diskgroup
When renaming on deport, you can specify the -h hostname option to assign a
lock to an alternate host. This ensures that the disk group is automatically
imported when the alternate host reboots.
For example, this command renames the disk group, mydg, as myexdg, and deports
it to the host, jingo:
# vxdg -h jingo -n myexdg deport mydg
You cannot use this method to rename the active boot disk group because it
contains volumes that are in use by mounted file systems (such as /). To rename
the boot disk group, boot the system from an LVM root disk instead of from the
VxVM root disk. You can then use the above methods to rename the boot disk
group.
See Rootability on page 112.
Creating and administering disk groups
Renaming a disk group
214