Listing the Solaris target and session parameters

This section describes how to list the parameters for the Solaris targets and sessions.

To list the parameters for the Solaris discovered targets and active sessions, perform the following steps:

  1. To see a list of discovered targets and active sessions, issue the following command:
    iscsiadm list target
    You see the following output:
    Target: iqn.1986-03.com.ibm:2145.lodestoneGB1.node1
    Alias: -    TPGT: 1
            	ISID: 4000002a0000
            	Connections: 1
  2. Display a list of the target parameters by using one of the following commands.
    • Issue the iscsiadm list target -v command:
      iscsiadm list target -v iqn.1986-03.com.ibm:
      2145.lodestoneGB1.node1 <your target name> 
      You see the following output:
      Target: iqn.1986-03.com.ibm:2145.lodestoneGB1.node1
      
      Alias: - TPGT: 1
              ISID: 4000002a0000
              Connections: 1
                  CID: 0
                   IP address (Local): 192.168.1.93:32828
                   IP address (Peer): 192.168.1.97:3260
                   Discovery Method: SendTargets
                   Login Parameters (Negotiated):
                      Data Sequence In Order: yes
                      Data PDU In Order: yes
                      Default Time To Retain: 20
                      Default Time To Wait: 2
                      Error Recovery Level: 0
                      First Burst Length: 32768
                      Immediate Data: no
                      Initial Ready To Transfer (R2T): yes
                      Max Burst Length: 32768
                      Max Outstanding R2T: 1
                      Max Receive Data Segment Length: 8192
                      Max Connections: 1
                      Header Digest: NONE
                      Data Digest: NONE
    • Issue the iscsiadm list target-param -v command:
      iscsiadm list target-param -v iqn.1986-03.com.ibm:2145.lodestoneGB1.node1 
      You see the following output:
      Target: iqn.1986-03.com.ibm:2145.lodestoneGB1.node1
          Alias: -
          Bi-directional Authentication: disabled
          Authentication Type: NONE
          Login Parameters (Default/Configured):
              Data Sequence In Order: yes/-
              Data PDU In Order: yes/-
              Default Time To Retain: 20/-
              Default Time To Wait: 2/-
              Error Recovery Level: 0/-
              First Burst Length: 65536/-
              Immediate Data: yes/-
              Initial Ready To Transfer (R2T): yes/-
              Max Burst Length: 262144/-
              Max Outstanding R2T: 1/-
              Max Receive Data Segment Length: 8192/-
              Max Connections: 1/-
              Header Digest: NONE/-
              Data Digest: NONE/-
          Configured Sessions: 1