Deporting a disk group

Deporting a disk group disables access to a disk group that is enabled (imported) by the system. Deport a disk group if you intend to move the disks in a disk group to another system.

To deport a disk group

  1. 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.

  2. To stop the volumes in the disk group, use the following command

    # vxvol -g diskgroup stopall
  3. From the vxdiskadm main menu, select Remove access to (deport) a disk group .

  4. 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)
  5. 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
  6. At the following prompt, press Return 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 
  7. 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