[stgt] ISER - tgtadm: Can't find the driver

Moussa Ba (moussaba) moussaba at micron.com
Thu Dec 5 22:42:32 CET 2013


I have been trying to reactivate a tgt array I was using a few months ago. I am currently using 3.12 but, tgtdadm
fails with a:

tgtadm: Can't find the driver

I ran the following commands to configure it:



taskset  0x00000100 tgtd  --control-port 0 --iscsi portal=192.168.104.2:3260 --iser port=3260

echo "Creating iqn.target0"
tgtadm --lld iser --mode target --op new --tid=1 --targetname iqn.target0 -C 0
tgtadm --lld iser --mode logicalunit --op new --tid 1 --lun 1 -b /dev/rssda --bstype rdwr -C 0
tgtadm --lld iser --mode logicalunit --op update --tid 1 --lun 1 --params scsi_id="$RSSDA_ID" -C 0
tgtadm --op update --mode target --tid 1 --name=MaxQueueCmd --value=256
tgtadm --lld iser --mode target --op bind --tid 1 -I ALL



Below are the modules Loaded

mlx4_en                76854  0 
mlx4_ib               129860  16 
ib_sa                  23653  4 rdma_cm,ib_ipoib,ib_cm,mlx4_ib
ib_mad                 40129  4 ib_cm,ib_umad,mlx4_ib,ib_sa
ib_core                72427  11 ib_iser,ib_isert,rdma_cm,iw_cm,ib_ipoib,ib_cm,ib_uverbs,ib_umad,mlx4_ib,ib_sa,ib_mad
mlx4_core             202689  2 mlx4_en,mlx4_ib
rdma_cm                39115  2 ib_iser,ib_isert
iw_cm                   9936  1 rdma_cm
ib_addr                 6528  1 rdma_cm
ib_cm                  37980  2 rdma_cm,ib_ipoib
ib_uverbs              36365  48 
rdma_cm                39115  2 ib_iser,ib_isert
ib_mad                 40129  4 ib_cm,ib_umad,mlx4_ib,ib_sa

--
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