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

lun copy cancel

Contributors
Suggest changes

Cancel a LUN copy operation before the new LUN has been created

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

Description

The lun copy cancel command cancels an ongoing LUN copy operation prior to creation of the new LUN. The command fails if the LUN already exists at the destination path; in that case, use the lun delete command to delete the LUN at the destination path.

All data transfers will be halted.

Note This is an advanced command because the preferred way to cancel a LUN copy operation is to wait until the new LUN becomes visible, and then use the lun delete command to delete the LUN.
Note LUNs cannot be copied to or from a Vserver with Infinite Volume.

Parameters

{ -vserver <Vserver Name> - Vserver Name (privilege: advanced)

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

-destination-path <path> - Destination Path (privilege: advanced)

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

Examples

cluster1::*> lun copy cancel -vserver vs1 -destination-path /vol/vol2/lun2

Cancels the copy operation identified by Vserver vs1 and destination path /vol/vol2/lun2 .