When a disk has replaced following a failure, you can use the
vxdiskadm command move the hot-relocated subdisks back to the disk where they originally resided.
To move the relocated subdisks using vxdiskadm
14 (Unrelocate subdisks back to a disk)from the
Enter the disk media name where the hot-relocated subdisks originally resided at the following prompt:
Enter the original disk name [<disk>,list,q,?]
If there are no hot-relocated subdisks in the system,
Currently there are no hot-relocated disks, and asks you to press Return to continue.
Unrelocate to a new disk [y,n,q,?] (default: n)
Use -f option to unrelocate the subdisks if moving to the exact
offset fails? [y,n,q,?] (default: n)
yat step 4 to unrelocate the subdisks forcibly, enter
yor press Return at the following prompt to confirm the operation:
Requested operation is to move all the subdisks which were
hot-relocated from mydg10 back to mydg10 of disk group mydg.
Continue with operation? [y,n,q,?] (default: y)
A status message is displayed at the end of the operation.
VxVM INFO V-5-2-954 Unrelocate to disk mydg10 is complete.
As an alternative to this procedure, use either the
vxassist command or the
vxunreloc command directly.
See "Moving relocated subdisks using vxassist" on page 394.
See "Moving relocated subdisks using vxunreloc" on page 394.