iscsi-ls(1)
NAME
iscsi-ls - show iSCSI target information
SYNOPSIS
iscsi-ls [ -b busId ] [ -t targetId ] [ -c ] [ -l ]
DESCRIPTION
iscsi-ls displays information about currently connected
iSCSI targets
OPTIONS
- -b busId
- Specify the SCSI bus ID to display the iSCSI tar
gets present on it. Also display information about
the LUNs available for each iSCSI target. - -t targetId
- Specify the SCSI target ID of a particular iSCSI
target to display. - -c Optionally also display iSCSI target configuration
- parameters.
- -l Optionally also display information about the LUNs
- available for each iSCSI target.
EXAMPLES
- example$ iscsi-ls -b 0
******************************************************************************* Cisco iSCSI Driver Version ... 3.2.0.1 (20-Mar-2003)
******************************************************************************** TARGET NAME : - iqn.1986-03.com.hp:fcgw.sr2122.ad68b290490789f64e1da2c05676156d.t1
TARGET ALIAS : t1
HOST NO : 0
BUS NO : 0
TARGET ID : 3
DISCOVERY ADDRESS : 192.168.250.248:3260
SESSION ESTABLISHED AT : Thu Mar 20 15:27:25 2003
NO. OF PORTALS : 2
TARGET ADDRESS 1 : 10.77.13.248:3260,1
TARGET ADDRESS 2 : 192.168.250.248:3260,1
SESSION ID : ISID 00023d000001 TSID 02 - DEVICE DETAILS :
-------------LUN ID : 0 - Vendor: SEAGATE Model: ST318452FC Rev: 0003
Type: Direct-Access ANSI SCSI revi - sion: 03
- LUN ID : 1
- Vendor: SEAGATE Model: ST318451FC Rev: 0001
Type: Direct-Access ANSI SCSI revi - sion: 03
- LUN ID : 2
- Vendor: SEAGATE Model: ST318452FC Rev: 0003
Type: Direct-Access ANSI SCSI revi - sion: 03
- ********************************************************************************
- Explanation of output:
TARGET NAME - the World Wide unique iSCSI target - name.
HOST NO - HBA host number of the iSCSI HBA driv - er.
BUS NO - SCSI bus ID.
TARGET ID - the SCSI Target ID
DISCOVERY ADDRESS - IP address specified in iscsi.conf to - discover the iSCSI targets.
NO OF PORTALS - Specify the number of address(es) of - an iSCSI target.
TARGET ADDRESS - "<IP address>:<port>, <portal group - id>"
SESSION - if Connected - "<Initiator Session ID> - <Target Session ID>"