tgt-admin -e error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux