Use the rmiscsistorageport command to remove established Internet Small Computer Systems Interface (iSCSI) sessions between system nodes and backend iSCSI target.
Use this command to remove path groups that are established after specifying addiscsistorageport (not individual paths).
Any dependencies must be removed before specifying this command. The ID of the session that is listed (after specifying lsiscsistorageport) is used to identify the sessions that must be removed.
After you specify addiscsistorageport for discovery and lsiscsistorageport to show any added session. Then specify rmiscsistorageport to remove sessions that are indicated by view ID 0. No tgt_user_name or target_chap is required for discovery or session establishment.
rmiscsistorageport 0
The detailed resulting output:
No feedback