Displaying information for iSCSI sessions and connections
Types of session and connection information
An iSCSI session can have zero or more connections. Typically a session has at least one connection. Connections can be added and removed during the life of the iSCSI session.
You can display information about all sessions or connections, or only specified sessions or connections. The iscsi session show command displays session information, and the iscsi connection show command displays connection information. The session information is also available using FilerView.
The command line options for these commands control the type of information displayed. For troubleshooting performance problems, the session parameters (especially HeaderDigest and DataDigest) are of particular interest.The -v option displays all available information. In FilerView, the iSCSI Session Information page has buttons that control which information is displayed.
Displaying session information
Displaying session information using the command line
To display iSCSI session information, complete the following step.
Step
|
Action
|
|
1
|
On the storage system console, enter the following command:
iscsi session show [-v] [-t] [-p] [-c] [session_tsih ...]
-v displays all information and is equivalent to -t -p -c.
-t displays the TCP connection information for each session.
-p displays the iSCSI session parameters for each session.
-c displays the iSCSI commands in progress for each session.
session_tsih is a list of session identifiers, separated by spaces.
|
|
|
Example 1
The following is the output for one session using the -t option:
Session 27
Initiator Information
Initiator Name: iqn.1991-05.com.microsoft:host1
ISID: 40:01:37:00:00:00
Connection Information
Connection 2
Remote Endpoint: 10.60.8.60:4325
Local Endpoint: 10.60.128.99:3260
Local Interface: e9b
TCP recv window size: 132300
|
|
|
Example 2
The following is the output for one session using the -p option:
Session 27
Initiator Information
Initiator Name: iqn.1991-05.com.microsoft:host1
ISID: 40:01:37:00:00:00
Session Parameters
SessionType=Normal
TargetPortalGroupTag=1
MaxConnections=4
ErrorRecoveryLevel=2
AuthMethod=None
HeaderDigest=None
DataDigest=None
ImmediateData=Yes
InitialR2T=No
FirstBurstLength=65536
MaxBurstLength=65536
Initiator MaxRecvDataSegmentLength=65536
Target MaxRecvDataSegmentLength=65536
DefaultTime2Wait=0
DefaultTime2Retain=20
MaxOutstandingR2T=1
DataPDUInOrder=Yes
DataSequenceInOrder=Yes
Command Window Size: 128
|
|
|
Example 3
The following is the output for one session using the -c option:
Session 27
Initiator Information
Initiator Name: iqn.1991-05.com.microsoft:host1
ISID: 40:01:37:00:00:00
Command Information
Var/SN State
Seq/164 Scsicdb_SR_Waiting_StatSN_ACK
|
Displaying session information using FilerView
To display iSCSI session information, complete the following steps.
Step
|
Action
|
|
1
|
Click LUNs > iSCSI > Initiators.
|
|
2
|
Click the name of an initiator in the list.
Result
The iSCSI Session Information page is displayed.
|
|
3
|
Click Show All, Show Commands, Show Session Parameters, or Show Connections to select the type of information to display.
Example
The following page show the results of clicking Show All.

|
Displaying connection information
To display iSCSI connection parameters, complete the following step. You must use the command line to display this information.
Step
|
Action
|
|
1
|
On the storage system console, enter the following command:
iscsi connection show [-v] [{new | session_tsih} conn_id]
-v displays all connection information.
new conn_id displays information about a single connection that is not yet associated with a session identifier. You must specify both the keyword new and the connection identifier.
session_tsih conn_id displays information about a single connection. You must specify both the session identifier and the connection identifier.
Example
The following is the output for a single connection using the -v option.
Connection 38/1:
State: Full_Feature_Phase
Remote Endpoint: 10.60.8.60:3193
Local Endpoint: 10.60.128.99:3260
Local Interface: e9b
|
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01094_B0
File: c11mgt-9.htm
Last updated: 08-Dec-2005 13:25:39