Skip to main content

lun move start

Contributors
Suggest changes

Start moving a LUN from one volume to another within a Vserver

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The lun move start command initiates moving of a LUN from one volume to another. The destination volume can be located on the same node as the original volume or on a different node.

Note Use lun move-in-volume command if you want to rename the LUN or move it within the same volume.
Note This command does not support movement of LUNs that are created from files.

Parameters

-vserver <Vserver Name> - Vserver Name

Specifies the name of the Vserver that will host the new LUN.

| -destination-path <path> - Destination Path

Specifies the full path to the new LUN, in the format /vol/<volume>[/<qtree>]/<lun>.

-source-path <path> - Source Path }

Specifies the full path to the source LUN, in the format /vol/<volume>[/<qtree>]/<lun>.

[-promote-late <true>] - Promote Late

Optionally specifies that the destination LUN needs to be promoted late.

If the destination is promoted early, the new LUN will be visible immediately. However, Snapshot copies of the volume containing the new LUN cannot be taken until the LUN move operation reaches 'Moving Data' status.

If the destination is promoted late, the new LUN will be visible only after it has been fully framed. However, the LUN move job will not block the creation of Snapshot copies of the volume containing the new LUN.

If this parameter is not specified, the destination LUN will be promoted early.

[-max-throughput {<integer>[KB|MB|GB|TB|PB]}] - Maximum Transfer Rate (per sec)

Optionally specifies the maximum amount of data, in bytes, that can be transferred per second in support of this operation. This mechanism can be used to throttle a transfer, to reduce its impact on the performance of the source and destination nodes.

If this parameter is not specified, throttling is not applied to the data transfer.

Note The specified value will be rounded up to the nearest megabyte.

Examples

cluster1::> lun move start -vserver vs1 -destination-path /vol/vol2/lun2 -source-path /vol/vol1/lun1

Starts moving LUN lun1 from volume vol1 in Vserver vs1 to lun2 on volume vol2 in Vserver vs1 .