iscsi-ls(1) - Linux man page
Name
iscsi-ls - show iSCSI target information
Synopsis
iscsi-ls [ -i hostId ] [ -c ] [ -l ]
Description
iscsi-ls displays information about currently connected iSCSI targets
Options
- -i hostId
- Specify the SCSI host ID of a particular iSCSI host to display. There is a 1-1 mapping between the SCSI host and an iSCSI session to a given target.
- -c
- Optionally also display iSCSI target configuration parameters.
- -l
- Optionally also display information about the LUNs available for each iSCSI target.
Examples
# iscsi-ls -i 56 -l
*******************************************************************************
SFNet iSCSI Driver Version ...4:0.1.11(12-Jan-2005)
*******************************************************************************
TARGET NAME : iqn.1992-08.com.netapp:sn.50391573.madmax
TARGET ALIAS :
HOST ID : 56
BUS ID : 0
TARGET ID : 0
TARGET ADDRESS : 10.60.155.91:3260,1001
SESSION STATUS : ESTABLISHED AT Fri Oct 28 16:30:40 EDT 2005
SESSION ID : ISID 00023d000001 TSIH 1331
DEVICE DETAILS:
---------------
LUN ID : 0
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
page83 type3: 60a9800056716c38636f313351476761
page80: 56716c38636f3133514767610a
Device: /dev/sdc
LUN ID : 1
Vendor: NETAPP Model: LUN Rev: 0.2
Type: Direct-Access ANSI SCSI revision: 04
page83 type3: 60a9800056716c38636f313351476852
page80: 56716c38636f3133514768520a
Device: /dev/sdd
*******************************************************************************
Explanation of output:TARGET NAME - the World Wide unique iSCSI target
name.
TARGET ALIAS - iSCSI target alias.
HOST ID - SCSI host number; corresponds to the iSCSI session to
this target.
BUS ID - SCSI bus ID.
TARGET ID - the SCSI Target ID
TARGET ADDRESS - IP address through which session to the iSCSI target
is established.
SESSION STATUS - "<ESTABLISHED AT|DROPPED AT> <date> <time>"
SESSION ID - if Connected - "ISID <Initiator Session ID> TSIH <Target
Session ID>"
See Also
iscsi.conf(5)