![]() |
< Previous | Next > |
Product: Volume Manager Guides | |
Manual: Volume Manager 4.1 Administrator's Guide |
Renaming a Disk GroupOnly one disk group of a given name can exist per system. It is not possible to import or deport a disk group when the target system already has a disk group of the same name. To avoid this problem, VxVM allows you to rename a disk group during import or deport. 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 ![]() To temporarily move the boot disk group, bootdg, from one host to another (for repair work on the root volume, for example) and then move it back, use the following procedure. ![]()
|
^ Return to Top | < Previous | Next > |
Product: Volume Manager Guides | |
Manual: Volume Manager 4.1 Administrator's Guide | |
VERITAS Software Corporation
www.veritas.com |