vxsd mv

vxsd [-o notrackalign] -g<DynamicDiskGroupName> [-f] [-b] mv <SubDiskName> [<DiskName | p#c#t#l#>]

This command moves the named subdisk to the disk that is specified by <DiskName |p#c#t#l#>. If a disk is not specified, the move operation tries to find free space within the dynamic disk group. The Move Subdisk function can be used for load balancing by moving a subdisk from a heavily accessed disk to a more lightly loaded one.

This command can also be used to move the part of a volume that is on a failed or missing disk to a healthy one. Moving a subdisk for redundant volumes (mirrored or RAID-5) uses the redundant data to recreate the subdisk on the healthy disk. However, for nonredundant volumes (concatenated or striped), the data cannot be recreated. If you perform a subdisk move, you lose data. You can avoid this if you repair the disk. Because of this possibility of data loss, Storage Foundation normally does not let you move the subdisk for nonredundant volumes.

You can disable track alignment for the operation by using the -o notrackalign option. You can also force the operation by using the -f option if you don't need the data any more or you can no longer recover the data. By doing so, you retains the volume structure, but there is no guarantee that the data will be recoverable. The -b option performs the command in the background.

Moving a subdisk from one disk to another involves a certain amount of time. The SmartMove feature can help reduce the time for this operation.

Example

vxsd -gDynDskGrp1 mv Disk1-01 Harddisk2

This command moves subdisk Disk1-01 to Harddisk2 (belonging to the DynDskGrp1 dynamic disk group).

vxsd -gDynDskGrp1 -f mv Disk1-01

This command forces the move of subdisk Disk1-01 (which is on a failed disk) to another disk with enough free space.

More Information

SmartMove