Skip to main content

storage iscsi-initiator disconnect

Contributors
Suggest changes

Disconnect from an iSCSI target

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

Description

The storage iscsi-initiator disconnect command disconnects a node from the specified target. 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 disconnected.

[-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 disconnect from.

Examples

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

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