Disk groups can be moved from one system to another with the deport/import commands. The same technique can be used to rename a disk group by deporting the disk group with a new name.
1. Unmount any filesystems on the disk group
2. Stop any volumes on the disk group:
vxvol stop
3. Deport the disk group:
vxdg deport
4. Import the disk group:
vxdg import
5. Restart and resynchronize the disk group:
vxrecover -g -sb
6. Remount any filesystems from the disk group
If you have any problems, check the status of volumes on the disk group:
vxinfo
To rename the disk group during deport/import, use the -n argument:
vxdg deport -n
|