Stop all activity by applications to volumes that are configured in the disk group that is to be deported. Unmount file systems and shut down databases that are configured on the volumes.
If the disk group contains volumes that are in use (for example, by mounted file systems or databases), deportation fails.
To stop the volumes in the disk group, use the following command
# vxvol -g diskgroup stopall
From the vxdiskadm main menu, select Remove access to (deport) a disk group .
At prompt, enter the name of the disk group to be deported. In the following example it is newdg):
Enter name of disk group [<group>,list,q,?] (default: list)
At the following prompt, enter y if you intend to remove the disks in this disk group:
Disable (offline) the indicated disks? [y,n,q,?] (default: n) y
At the following prompt, press to continue with the operation:
Continue with operation? [y,n,q,?] (default: y)
After the disk group is deported, the vxdiskadm utility displays the following message:
VxVM INFO V-5-2-269 Removal of disk group newdg was
At the following prompt, indicate whether you want to disable another disk group (y) or return to the vxdiskadm main menu (n):
Disable another disk group? [y,n,q,?] (default: n)
You can use the following vxdg command to deport a disk group:
# vxdg deport diskgroup