Skip to main content
A newer release of this product is available.

volume move abort

Contributors
Suggest changes

Stop a running volume move operation

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

Description

The "volume move abort" command sends an abort message to the volume move operation and returns immediately. The volume move operation might not abort immediately depending on the stage it is in. For example, if the volume move operation is in a cut-over or clean-up phase, the abort is ignored. You invoke the "volume move show" command to view the list of running volume move operations and monitor the progress of the abort operation. This command has the same behavior as the job stop`-id`<job-id> command where the job-id is the identifier of the volume move job.

Parameters

-vserver <vserver name> - Vserver Name

This specifies the Vserver on which the volume is located.

-volume <volume name> - Volume Name

This specifies the name of the volume being moved.

Examples

The following example aborts running volume move operation on volume vol1

cluster1::> volume move show
        Vserver   Volume     State    Move Phase Percent-Complete Time-To-Complete
        --------- ---------- -------- ---------- ---------------- ----------------
        vs0       vol1       alert    cutover_hard_deferred 0%    -
        vs0       vol2       failed   failed     -                -
        2 entries were displayed.
cluster1::> volume move abort -vserver vs0 -volume vol1
cluster1::> volume move show -vserver vs0 -volume vol1 -fields completion-status
        vserver volume completion-status
        ------- ------ --------------------------
        vs0     vol1   "Volume move job stopped."

The following example shows command failed to abort on vol2 as volume move operation is completed.

cluster1::> volume move show
        Vserver   Volume     State    Move Phase Percent-Complete Time-To-Complete
        --------- ---------- -------- ---------- ---------------- ----------------
        vs0       vol1       alert    cutover_hard_deferred 0%    -
        vs0       vol2       failed   failed     -                -
        2 entries were displayed.
cluster1::> volume move abort -vserver vs0 -volume vol2
Error: command failed: There is no volume move operation running on the
               specified volume.