Please ignore .. I have already answered my own question : /etc/tgt/targets.conf: bs-type sg device-type pt On Sat, Jul 28, 2012 at 12:39 PM, nia dev <niadev67@xxxxxxxxx> wrote: > Hi all, > > > # cat /etc/tgt/targets.conf > default-driver iscsi > > <target iqn.1993-08.org.debian:01:748549db76f:mhvtl:stgt:1> > backing-store /dev/sg7 > backing-store /dev/sg2 > backing-store /dev/sg3 > backing-store /dev/sg4 > backing-store /dev/sg5 > backing-store /dev/sg6 > </target> > > # /usr/sbin/tgt-admin -e > tgtadm: invalid request > Command: > tgtadm -C 0 --lld iscsi --op new --mode logicalunit --tid 1 > --lun 1 -b /dev/sg2 > exited with code: 22. > > > I think it needs extra flags --bstype=sg --device-type=pt > > Thanks > -nia -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html