Use the movevdisk command to move the preferred node of a volume either within the same caching I/O group or to another caching I/O group.
Use the movevdisk to migrate a single volume to a new I/O group - repeat this action for other volumes as required. This command can also move the preferred node of a volume without changing the caching I/O group, but it does not change which I/O groups can access the volume (only the caching I/O group is changed).
A compressed volume can also be moved, and you can specify the preferred node in the new I/O group. You can move a volume that is in a Flash Copy (FC) mapping, but the FC bitmaps remain in the original I/O group. You cannot move the volumes when the FC mapping is in preparing or prepared state. Additionally, a volume can be moved if it is the target of a FC mapping that is in stopping state.
You cannot move a volume to change the caching I/O group for a volume that is in a Global Mirror, Metro Mirror, or HyperSwap® relationship, regardless of whether it is a primary, secondary, or change volume. To move a volume in a Global Mirror, Metro Mirror, or HyperSwap® relationship, the relationship must first be deleted. You can change a preferred node without changing caching I/O group for this type of a volume.
If the volume is offline, use one of the recovervdisk commands to recover the volume and bring it back online. To specify a preferred node for the volume, use the -node node_id | node_name parameter with the movevdisk command. Use the movevdisk command to change the I/O group with which this volume is associated.
You can migrate a volume to a new I/O group to manually balance the workload across the nodes in the clustered system. You might end up with a pair of nodes that are overworked and another pair that are underworked.
If the volume is a target of a FlashCopy mapping with a source volume in an active-active relationship then the new I/O group must be in the same site as the source volume. The system only permits moving a volume in a remote copy relationship if the move does not change the I/O group (it changes the preferred node). If the volume is in an active-active relationship the new I/O group must be in the same site as the source I/O group.
movevdisk -iogrp 2 DB_Volume
The resulting output:
No feedback
movevdisk -iogrp IOGRP3 -node 7 DB_Volume
The resulting output:
No feedback
movevdisk -node 8 DB_Volume
The resulting output:
No feedback