Skip to main content

storage iscsi-initiator remove-target

Contributors
Suggest changes

Remove an iSCSI target

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

Description

The storage iscsi-initiator remove-target command removes an iSCSI target from a node's list of targets. This command is only supported on high-availability shared-nothing virtualized platforms.

Parameters

-node {<nodename>|local} - Node (privilege: advanced)

Specifies the name of the Data ONTAP node from which the iSCSI target will be removed.

[-target-type {external|mailbox|partner|partner2|dr_auxiliary|dr_partner}] - Target Type (privilege: advanced)

Selects targets with the specified target type.

-label <text> - User Defined Identifier (privilege: advanced)

Specifies the label of the target to be removed.

Examples

The following example adds and connects to an iSCSI target from the specified node .

cluster1::*> storage iscsi-initiator remove-target -node node1
             -label target1