[stgt] [PATCH 1/1] Add command to list all iscsi connections

ronnie sahlberg ronniesahlberg at gmail.com
Sun May 8 01:32:58 CEST 2011


Tomo, List

Please find attached a patch to allow listing of all
sessions/connections for a iscsi target.

The command used to list all sessions/connections as well as the
already existing command to delete/close a session
have been added to the manpage for tgtadm.

Example:
tgtadm --lld iscsi --op show --mode conn --tid 1
Session: 2
    Connection: 0
        Initiator: iqn.2008-11.org.linux-kvm:
        IP Address: 127.0.0.1

tgtadm --lld iscsi --op delete --mode conn --tid 1 --sid 2 --cid 0



regards
ronnie sahlberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-new-command-that-allows-listing-of-all-Session.patch.gz
Type: application/x-gzip
Size: 5043 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20110508/e63b1f3f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-new-command-that-allows-listing-of-all-Session.patch
Type: text/x-diff
Size: 19675 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20110508/e63b1f3f/attachment-0001.patch>


More information about the stgt mailing list