VERITAS Volume Manager 3.1 Administrator's Guide
Disk Group Tasks
Renaming a Disk Group
Chapter 5 217
this command:
# vxdg -tC -n
newdg_name
import
diskgroup
where -t indicates a temporary import name; C clears import locks; -n
specifies a temporary name for the rootdg to be imported (so it does not
conflict with the existing rootdg); and
diskgroup
is the disk group ID of
the disk group being imported (for example, 774226267.1025.tweety).
If a reboot or crash occurs at this point, the temporarily imported disk
group becomes unimported and requires a reimport.
Step 3. After the necessary work has been done on the imported rootdg, deport
it back to its original host with this command:
# vxdg -h
hostname
deport
diskgroup
where
hostname
is the name of the system whose rootdg is being
returned (the system name can be confirmed with the command uname
-n).
This command removes the imported rootdg from the importing host
and returns locks to its original host. The original host then autoimports
its rootdg on the next reboot.