storage iscsi portal host target remove
Removes an iSCSI target configuration from the specified portal.
Syntax
[failover-peer] storage iscsi portal host <hostname> target remove name <name>
Parameters
failover-peer | Performs the command on the failover peer of the current appliance. If the failover peer is unavailable, the changed configuration is automatically applied when the appliance returns to service. You can run failover-peer commands only on a Core appliance in ActiveSolo failover state. |
<hostname> | Hostname of the iSCSI portal with the target configuration to be removed. |
name <name> | Specifies the name of the target to be removed. |
Usage
You must first remove all LUNs from a target before you can remove the target itself.
Use the
storage lun remove command to remove all LUNs from a target.
Example
Core_01 (config) # storage iscsi portal host 10.2.3.4 target remove name iqn.2003-10.com.hoosgau:432716056
Core_02 (config) # failover-peer storage iscsi portal host 10.2.3.4 target remove name iqn.2003-10.com.hoosgau:432716056
Product
Core