How to Monitor an iSCSI Configuration
- Become superuser.
- Display information about the iSCSI initiator.
# iscsiadm list initiator-node
Initiator node name: ign.1986-03.com.sun:01:0003ba4d233b.425c293c Initiator node alias: zzr1200 Login Parameters (Default/Configured): Header Digest: NONE/- Data Digest: NONE/- Authentication Type: NONE RADIUS Server: NONE RADIUS access: unknown Configured Sessions: 1 - Display information about which discovery methods are in use.
# iscsiadm list discovery
Discovery: Static: enabled Send Targets: enabled iSNS: enabled
Example
The following example shows how to display the parameter settings for a specific iSCSI target.
# iscsiadm list target-param iqn.1992-08.com.abcstorage.sn.33592219 Target: iqn.1992-08.com.abcstorage:sn.33592219
The iscsiadm list target-param -v command displays the following information:
- The authentication settings for the target
- The default settings for the target login parameters
- The configured value for each login parameter
The iscsiadm list target-param -v command displays the default parameter value before the / designator and the configured parameter value after the / designator. If you have not configured any parameters, the configured parameter value displays as a hyphen. For more information, see the following examples:
# iscsiadm list target-param -v eui.50060e8004275511
Target: eui 50060e8004275511
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: 65536/-
Max Connections: 1/-
Header Digest: NONE/-
Data Digest: NONE/-
Configured Sessions: 1
The following example output shows the parameters that were negotiated between the target and the initiator.
# iscsiadm list target -v eui.50060e8004275511
Target: eui.50060e8004275511
TPGT: 1
ISID: 4000002a0000
Connections: 1
CID: 0
IP address (Local): 172.90.101.71:32813
IP address (Peer): 172.90.101.40:3260
Discovery Method: Static
Login Parameters (Negotiated):
Data Sequence In Order: yes
Data PDU In order: yes
Default Time to Retain: 0
Default Time to Wait: 3
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: 65536
Max Connections: 1
Header Digest: NONE
Data Digest: NONE

