Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

You can also move a disk by using the vxdiskadm command. Select Remove a disk
from the main menu, and then select Add or initialize a disk.
To move disks and preserve the data on these disks, along with VxVM objects,
such as volumes:
See Moving objects between disk groups on page 257.
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)
newdg
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
Creating and administering disk groups
Deporting a disk group
222