All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luigi Tarenga <luigi.tarenga@gmail.com>
To: linux-scsi@vger.kernel.org, target-devel@vger.kernel.org,
	"Nicholas A. Bellinger" <nab@linux-iscsi.org>
Subject: targetcli do not show iscsi
Date: Tue, 30 Sep 2014 10:52:20 +0200	[thread overview]
Message-ID: <542A6F44.3070802@gmail.com> (raw)

hi everybody,
I write to you for a problem that sound as my simple mistake
but I can't really find a solution after googling and reading
official doc.

I'm trying to configure a iscsi target on a centos 6.5 box with
a custom kernel compiled from vanilla 3.16.3.

I have compile:
CONFIG_TARGET_CORE=m
CONFIG_ISCSI_TARGET=m
CONFIG_CONFIGFS_FS=m

I mount configfs:
# mount | grep config
configfs on /sys/kernel/config type configfs (rw)

manually load iscsi_target_mod (and this show nothing in dmesg)

and when I run targetcli ls command this is the output:
# targetcli ls
o- / 
..................................................................... [...]
   o- backstores 
.......................................................... [...]
   | o- block ................................................ [0 
Storage Object]
   | o- fileio ............................................... [0 
Storage Object]
   | o- pscsi ................................................ [0 
Storage Object]
   o- loopback ...................................................... [0 
Targets]

I can't see "o- iscsi" so I can't create the iscsi target i need...

# targetcli version
targetcli version 2.0rc1.fb16

$ ls /sys/kernel/config/target/
core  version

# lsmod | grep scsi
iscsi_target_mod      205464  0
target_core_mod       229493  1 iscsi_target_mod
configfs               22151  3 iscsi_target_mod,target_core_mod
scsi_mod               93246  6 
iscsi_target_mod,target_core_mod,sg,sd_mod,sr_mod,libata

any idea of what I can check?

many thanks in advance
Luigi

             reply	other threads:[~2014-09-30  8:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30  8:52 Luigi Tarenga [this message]
2014-09-30  8:56 ` targetcli do not show iscsi Jerome Martin
2014-09-30  9:04   ` Luigi Tarenga
2014-09-30  9:11     ` Jerome Martin
2014-09-30  9:20       ` Luigi Tarenga
2014-09-30  9:28         ` Jerome Martin
2014-09-30  9:41           ` Luigi Tarenga
2014-09-30  9:45             ` Jerome Martin
2014-09-30 15:21               ` Andy Grover
2014-09-30 15:26                 ` Jerome Martin
2014-09-30 15:35                 ` Luigi Tarenga
2014-09-30 15:52                   ` Luigi Tarenga
2014-09-30 16:49                     ` Luigi Tarenga
2014-09-30 16:52                       ` Jerome Martin
2014-09-30 17:01                         ` Luigi Tarenga
2014-09-30 17:09                           ` Jerome Martin
     [not found]                             ` <542BE74F.3080102@gmail.com>
2014-10-01 11:49                               ` Jerome Martin
2014-10-01 12:30                                 ` Luigi Tarenga
2014-10-01 12:35                                   ` Luigi Tarenga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542A6F44.3070802@gmail.com \
    --to=luigi.tarenga@gmail.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=nab@linux-iscsi.org \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.