[stgt] bs_sg_open(380) Not recognized /dev/sg0 as an sg device
Frank Michel
michelfranck at neuf.fr
Sun Mar 13 11:26:42 CET 2011
Hello,
We are currently using STGT v1.0.13 on a RHEL 6 test box.
We are encountering the following difficulty :
tgtadm --lld iscsi --mode target --op new --tid=1 --targetname
iqn.2011-03.com:test
lsscsi -g
...
tgtadm --lld iscsi --mode logicalunit --op new --tid 1 --lun 1
--device-type=pt --bstype=sg -b /dev/sg4
tgtadm: invalid request
And the /var/adm/messages shows:
chk_sg_device(295) stat failed errorno: 13
bs_sg_open(380) Not recognized /dev/sg4 as an sg device
The problem is that sometime it works, sometimes not with the previous error
Are we doing something wrong ? /dev/sg4 exists for sure.
Thanks for your help
--
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