Re: targetcli do not show iscsi

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

 




On 09/30/2014 11:28 AM, Jerome Martin wrote:
Luigi,

Out of curiosity, does it work as expected with the stock fedora packaged kernel ?

Best,
--
Jerome


didn't test that configuration and since I can't find module iscsi_target_mod in stock kernel I would have to recompile it against centos kernel. It's worth trying?

btw, I saw that after loading the module and manually create the iscsi directory this
content automatically appear:

# ll /sys/kernel/config/target/iscsi/
total 0
drwxr-xr-x 2 root root    0 Sep 30 11:38 discovery_auth
-r--r--r-- 1 root root 4096 Sep 30 11:39 lio_version

I start suspecting a problem with targetcli or configshell. I regenerated the log.txt file:

# targetcli /iscsi info
No such path /iscsi

# cat log.txt
[DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/shell.py:932 run_cmdline() Running command line '/iscsi info'. [DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/shell.py:837 _parse_cmdline() Parsing commandline. [DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/shell.py:844 _parse_cmdline() [('path', 0, 6, []), ('command', 7, 11, None)] [DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/shell.py:848 _parse_cmdline() Found path token /iscsi. [DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/shell.py:848 _parse_cmdline() Found command token info. [DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/shell.py:861 _parse_cmdline() Parse gave path='/iscsi' command='info' pparams=[] kparams={} [DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/node.py:1857 get_node() Looking for path '/iscsi' [DEBUG] 2014-30-09 11:40:52 /usr/lib/python2.6/site-packages/configshell/node.py:1857 get_node() Looking for path 'iscsi'
[ERROR] 2014-30-09 11:40:52 No such path /iscsi

Luigi
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux