On Wed, 6 Oct 2010 12:35:48 +0300 Yuriy Kohut <ykohut at onapp.com> wrote: > I'm creating new iSCSI target based on sheepdog image. > > Its fails with: > debian:~/tmp/tgt# tgtadm --op new --mode logicalunit --tid 1 --lun 1 -b test0 --bstype sheepdog > tgtadm: can't find the target looks like you don't create a target. First, you need to do some like: tgtadm --op new --mode target --tid 1 -T iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz Then you can attach a logical unit to the target. tgt/doc/README.iSCSI should be helpful. |