[Stgt-devel] [Patch : 0/2] Passthrough devices.
ronnie sahlberg
ronniesahlberg
Sat Aug 2 05:56:16 CEST 2008
List,
Following are two patches that adds support for passthrough devices to tgtd.
This is useful for developers that want an easy way to "export" a
direct attach device to iSCSI and use wireshark to capture and see
what/how the device responds to certain scenarios.
(using wireshark to decode the scsi protocol is often easier than
writing your own scsi decoder)
To "export" a direct attach device onot iSCSI, use :
tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1
--device-type=pt -b /dev/sg0
regards
ronnie sahlberg
More information about the stgt
mailing list