* [SPDK] tgt_node.c: 700:spdk_iscsi_tgt_node_construct: *ERROR*: Could not construct SCSI device
@ 2017-06-30 18:33 Isaac Otsiabah
0 siblings, 0 replies; 2+ messages in thread
From: Isaac Otsiabah @ 2017-06-30 18:33 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1969 bytes --]
I have tested with the "./app/iscsi_tgt/iscsi_tgt -m 0x101" many times but now I am getting this error on both of my test systems. Something has changed?
tgt_node.c: 700:spdk_iscsi_tgt_node_construct: *ERROR*: Could not construct SCSI device
tgt_node.c: 966:spdk_cf_add_iscsi_tgt_node: *ERROR*: tgt_node1: add_iscsi_target_node error
tgt_node.c: 992:spdk_iscsi_init_tgt_nodes: *ERROR*: spdk_cf_add_iscsi_tgt_node() failed
iscsi_subsystem.c: 984:spdk_iscsi_init: *ERROR*: spdk_iscsi_init_tgt_nodes() failed
subsystem.c: 119:spdk_subsystem_init_next: *ERROR*: Init subsystem iscsi failed
my /usr/local/etc/spdk/iscsi.conf contents:
.....
.....
.....
[Nvme]
TransportID "trtype:PCIe traddr:0000:04:00.0" Nvme0
TransportID "trtype:PCIe traddr:0000:05:00.0" Nvme1
# If 'Yes', iscsi will automatically unbind the kernel NVMe driver from
# discovered devices and rebind it to the uio driver.
UnbindFromKernel Yes
# The following two arguments allow the user to partition NVMe namespaces
# into multiple LUNs
NvmeLunsPerNs 2
LunSizeInMB 1024
# The number of attempts per I/O when an I/O fails. Do not include
# this key to get the default behavior.
RetryCount 4
# The maximum number of NVMe controllers to claim. Do not include this key to
# claim all of them.
#NumControllers 1
[TargetNode1]
# Comment "Disk 1"
TargetName disk1
TargetAlias "Data Disk1"
Mapping PortalGroup1 InitiatorGroup1
AuthMethod Auto
AuthGroup AuthGroup1
UseDigest Auto
LUN0 Nvme0
LUN1 Nvme1
QueueDepth 128
My systems has these devices before I ran scripts/setup.sh
[root(a)host1]# ls -l /dev/*nv*
crw------- 1 root root 248, 0 Jun 30 11:44 /dev/nvme0
brw-rw---- 1 root disk 259, 0 Jun 30 11:44 /dev/nvme0n1
crw------- 1 root root 248, 1 Jun 30 11:44 /dev/nvme1
brw-rw---- 1 root disk 259, 1 Jun 30 11:44 /dev/nvme1n1
crw------- 1 root root 10, 144 Jun 29 18:31 /dev/nvram
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 5807 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [SPDK] tgt_node.c: 700:spdk_iscsi_tgt_node_construct: *ERROR*: Could not construct SCSI device
@ 2017-06-30 18:41 Isaac Otsiabah
0 siblings, 0 replies; 2+ messages in thread
From: Isaac Otsiabah @ 2017-06-30 18:41 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 2273 bytes --]
Found the problem, I think.
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Isaac Otsiabah
Sent: Friday, June 30, 2017 11:34 AM
To: 'spdk(a)lists.01.org' <spdk(a)lists.01.org>
Subject: [SPDK] tgt_node.c: 700:spdk_iscsi_tgt_node_construct: *ERROR*: Could not construct SCSI device
I have tested with the "./app/iscsi_tgt/iscsi_tgt -m 0x101" many times but now I am getting this error on both of my test systems. Something has changed?
tgt_node.c: 700:spdk_iscsi_tgt_node_construct: *ERROR*: Could not construct SCSI device
tgt_node.c: 966:spdk_cf_add_iscsi_tgt_node: *ERROR*: tgt_node1: add_iscsi_target_node error
tgt_node.c: 992:spdk_iscsi_init_tgt_nodes: *ERROR*: spdk_cf_add_iscsi_tgt_node() failed
iscsi_subsystem.c: 984:spdk_iscsi_init: *ERROR*: spdk_iscsi_init_tgt_nodes() failed
subsystem.c: 119:spdk_subsystem_init_next: *ERROR*: Init subsystem iscsi failed
my /usr/local/etc/spdk/iscsi.conf contents:
.....
.....
.....
[Nvme]
TransportID "trtype:PCIe traddr:0000:04:00.0" Nvme0
TransportID "trtype:PCIe traddr:0000:05:00.0" Nvme1
# If 'Yes', iscsi will automatically unbind the kernel NVMe driver from
# discovered devices and rebind it to the uio driver.
UnbindFromKernel Yes
# The following two arguments allow the user to partition NVMe namespaces
# into multiple LUNs
NvmeLunsPerNs 2
LunSizeInMB 1024
# The number of attempts per I/O when an I/O fails. Do not include
# this key to get the default behavior.
RetryCount 4
# The maximum number of NVMe controllers to claim. Do not include this key to
# claim all of them.
#NumControllers 1
[TargetNode1]
# Comment "Disk 1"
TargetName disk1
TargetAlias "Data Disk1"
Mapping PortalGroup1 InitiatorGroup1
AuthMethod Auto
AuthGroup AuthGroup1
UseDigest Auto
LUN0 Nvme0
LUN1 Nvme1
QueueDepth 128
My systems has these devices before I ran scripts/setup.sh
[root(a)host1]# ls -l /dev/*nv*
crw------- 1 root root 248, 0 Jun 30 11:44 /dev/nvme0
brw-rw---- 1 root disk 259, 0 Jun 30 11:44 /dev/nvme0n1
crw------- 1 root root 248, 1 Jun 30 11:44 /dev/nvme1
brw-rw---- 1 root disk 259, 1 Jun 30 11:44 /dev/nvme1n1
crw------- 1 root root 10, 144 Jun 29 18:31 /dev/nvram
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 6543 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-30 18:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-30 18:33 [SPDK] tgt_node.c: 700:spdk_iscsi_tgt_node_construct: *ERROR*: Could not construct SCSI device Isaac Otsiabah
2017-06-30 18:41 Isaac Otsiabah
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.