All of lore.kernel.org
 help / color / mirror / Atom feed
From: Walker, Benjamin <benjamin.walker at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] 回复: NVMeF Target Error NVMe controller
Date: Tue, 28 Feb 2017 16:48:23 +0000	[thread overview]
Message-ID: <1488300502.9792.11.camel@intel.com> (raw)
In-Reply-To: CAJvSebvPPQ1Q47CX_k5DArWLR5ibtZLsXzxnVL1wnOLDcYE8Gg@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1547 bytes --]

Direct mode exports a physical NVMe device, specified by
domain:bus:device.function, over NVMe-oF. Virtual mode can export any
type of device, specified using the 'Namespace' directive, over NVME-
oF.


On Tue, 2017-02-28 at 20:08 +0530, Ankur Srivastava wrote:
> Thanks Thomas for the work around I have made the subsystem2 as
> Virtual Mode, but still the error persists.  
> Error I am getting is related to the subsystem1.
> 
> Modified conf.in
> -------------------------------
> # Direct controller
> [Subsystem1]
>   NQN nqn.2016-06.io.spdk:cnode1
>   Core 0
>   Mode Direct
>   Listen RDMA 192.168.25.3:4420
>   Host nqn.2016-06.io.spdk:init
>   NVMe 0000:06:00.0

Here's the error you are getting:

conf.c: 565:spdk_nvmf_parse_subsystem: ***ERROR*** Could not find NVMe
controller for Subsystem1

If you look at Subsystem1, it's in Direct mode and trying to export the
NVMe device at 0000:06:00.0. You explained earlier that you do not have
an NVMe device attached, so the error is telling you that it can't find
the device at that location. Instead, either delete Subsystem1 if you
don't need it, or make Subsystem1 a virtual subsystem and add
namespaces too it like you did for Subsystem2.

> 
> # Multiple subsystems are allowed.
> # Virtual controller
> [Subsystem2]
>   NQN nqn.2016-06.io.spdk:cnode2
>   Core 0
>   Mode Virtual
>   Listen RDMA 192.168.25.31:4420
>   Host nqn.2016-06.io.spdk:init
>   SN SPDK00000000000001
>   Namespace Malloc0
>   Namespace Malloc1
> 

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3274 bytes --]

             reply	other threads:[~2017-02-28 16:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 16:48 Walker, Benjamin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-02-28 17:31 [SPDK] 回复: NVMeF Target Error NVMe controller Wenhua Liu
2017-02-28 16:07 Ankur Srivastava
2017-02-28 14:38 Ankur Srivastava
2017-02-28 14:26 thomas.zhang.8288

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=1488300502.9792.11.camel@intel.com \
    --to=spdk@lists.01.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.