aboutsummaryrefslogtreecommitdiff
path: root/README.iscsi
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2011-05-18 14:58:31 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2011-05-18 14:58:31 +0000
commitacbad402f6cdfdd38bbda4315e1730467d7b62ca (patch)
treee4d26fa4004bdb88f2948e305e05498e9988ce01 /README.iscsi
parent0d4480a31abf1c9dd719ce552409894164dc35c1 (diff)
downloadsg3_utils-acbad402f6cdfdd38bbda4315e1730467d7b62ca.tar.gz
sg_ses: rework descriptor output and indexes
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@397 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'README.iscsi')
-rw-r--r--README.iscsi37
1 files changed, 33 insertions, 4 deletions
diff --git a/README.iscsi b/README.iscsi
index 39bf92de..9ce255cb 100644
--- a/README.iscsi
+++ b/README.iscsi
@@ -1,8 +1,37 @@
-TODO: xxxxxxxx
+iSCSI support for sg3-utils is available from external patches.
-Expect Ronnie Sahlberg to send me content for this readme ...
+To build sg3-utils from sources and activate built-in iSCSI support
+you need both sg3-utils and the external userspace iSCSI library hosted at :
+https://github.com/sahlberg/libiscsi
+
+This library provides a client library for accessing remote iSCSI
+devices and also comes with patches to the sg3-utils source code
+distribution to compile a special version of sg3-utils with iSCSI
+support.
+
+No support for iSCSI is provided by the sg3-utils maintainer.
+
+
+
+Once sg3-utils is compiler and installed with libiscsi support, you
+can specify remote iSCSI devices through a special URL format instead
+of the normal /dev/* syntax.
+
+Example:
+
+sg_inq iscsi://ronnie%password@10.1.1.27/iqn.ronnie.test/1
+standard INQUIRY:
+ PQual=0 Device_type=0 RMB=0 version=0x05 [SPC-3]
+ [AERC=0] [TrmTsk=1] NormACA=0 HiSUP=0 Resp_data_format=2
+ SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 BQue=0
+ EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0
+ [RelAdr=0] WBus16=0 Sync=0 Linked=0 [TranDis=0] CmdQue=1
+ [SPI: Clocking=0x0 QAS=0 IUS=0]
+ length=66 (0x42) Peripheral device type: disk
+ Vendor identification: IET
+ Product identification: VIRTUAL-DISK
+ Product revision level: 0001
+ Unit serial number: beaf11
-dpg
-20110425