The issue:
Existing data on a device needs to be moved to a new disk device.
The new disk device may exist in the current storage system or a new storage system.
To resolve the issue:
An example step by step procedure to migrate the data follows.
1) Initialize a new storage device to prepare for later operations.
In this example disk c6t16d136s2 (a new storage device) is initialized:
#vxdisksetup -i c6t16d136s2
2) Add the disk to the existing disk group.
In this example, the disk 'c6t16d136s2' will be added to disk group 'datadg', and designated 'datadg02':
#vxdg -g datadg adddisk datadg02=c6t16d136s2
3) Move the data from the original disk to the new disk.
The data will be moved from a disk in one storage array called 'datadg01' to a new disk 'datadg02' in another storage array:
#/etc/vx/bin/vxevac -g datadg datadg01 datadg02
To view progress of the completion of Volume Manager tasks, use the following command:
#vxtask list
When the task is complete, the data is present on the new disk.