[stgt] invalid request for bstype

faizan husain faizanh at linux.vnet.ibm.com
Mon Jul 9 12:07:26 CEST 2012


Hi,

I am getting invalid request for --bstype aio and sg,

tgtadm -C 0 --lld iser --op new --mode logicalunit --tid 1 --lun 1 -b /dev/disk/by-path/pci-0000:16:00.0-scsi-0:2:1:0  --bstype aio
tgtadm: invalid request

running the same command with bstype rdwr succeeds :

tgtadm -C 0 --lld iser --op new --mode logicalunit --tid 1 --lun 2 -b /dev/disk/by-path/pci-0000:16:00.0-scsi-0:2:1:0  --bstype rdwr

also the sg type seems to be broken :

I have installed scsi-target-utils-1.0.24-2.el6.x86_64 rpm on my system

latest available source version :  1.0.29 and compiled with :

make ISCSI=1 ISCSI_RDMA=1

works fine, so just wanted to know what is fixed for bstype aio and sg in 1.0.29 source?

Please reply to my mail id as i am not registered to stgt mailing list.


Thanks

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list