* [SPDK] FIO Plugin ERROR - Failed to find namespace 'ns=X'
@ 2017-06-09 10:43 OConnell, Brendan
0 siblings, 0 replies; 4+ messages in thread
From: OConnell, Brendan @ 2017-06-09 10:43 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
Hi,
When trying to run the FIO Plugin I get an error:
Failed to find namespace 'ns=X'
I believe I have installed everything correctly and SPDK grabs the drives as expected.
Any ideas where I may have gone wrong?
It's a new Centos7 build with kernel 4.11
Thanks
Brendan
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 2188 bytes --]
[-- Attachment #3: boc.fio --]
[-- Type: application/octet-stream, Size: 212 bytes --]
[global]
ioengine=../spdk/examples/nvme/fio_plugin/fio_plugin
thread=1
group_reporting=1
direct=1
verify=0
time_based=1
ramp_time=0
runtime=2
iodepth=128
rw=randrw
bs=4k
[test]
filename=0000.04.00.0/1
numjobs=1
[-- Attachment #4: FIOError_terminal_output.txt --]
[-- Type: text/plain, Size: 1437 bytes --]
[root@localhost spdk]# clear
[root@localhost spdk]# lspci|grep SSD
04:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
14:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
36:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
46:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
84:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
a5:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
d6:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
e6:00.0 Non-Volatile memory controller: Intel Corporation PCIe Data Center SSD (rev 01)
[root@localhost spdk]# fio ../brendan/boc.fio
test: (g=0): rw=randrw, bs=4096B-4096B,4096B-4096B,4096B-4096B, ioengine=spdk_fio, iodepth=128
fio-2.18
Starting 1 thread
Starting DPDK 17.02.0 initialization...
[ DPDK EAL parameters: fio -c 0x1 -m 512 --file-prefix=spdk_pid7864 ]
EAL: Detected 32 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
fio_plugin.c: 247:spdk_fio_setup: ***ERROR*** Failed to find namespace 'ns=X'
test: you need to specify size=
fio: pid=0, err=22/file:filesetup.c:860, func=total_file_size, error=Invalid argument
Run status group 0 (all jobs):
[root@localhost spdk]#
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SPDK] FIO Plugin ERROR - Failed to find namespace 'ns=X'
@ 2017-06-09 15:59 Walker, Benjamin
0 siblings, 0 replies; 4+ messages in thread
From: Walker, Benjamin @ 2017-06-09 15:59 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 965 bytes --]
Hi Brendan,
We changed the format expected for 'filename' in the fio configuration file a
few months back so we can support NVMe-oF. You are using the old format, but you
must have pulled updated code. See:
https://github.com/spdk/spdk/tree/master/examples/nvme/fio_plugin
In your config file, change
filename=0000.04.00.0/1
to
filename='trtype=PCIe traddr=0000.04.00.0 ns=1'
That should fix it up.
Thanks,
Ben
On Fri, 2017-06-09 at 10:43 +0000, OConnell, Brendan (Eng) wrote:
> Hi,
> When trying to run the FIO Plugin I get an error:
> Failed to find namespace 'ns=X'
> I believe I have installed everything correctly and SPDK grabs the drives as
> expected.
>
> Any ideas where I may have gone wrong?
>
> It’s a new Centos7 build with kernel 4.11
>
> Thanks
> Brendan
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3274 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SPDK] FIO Plugin ERROR - Failed to find namespace 'ns=X'
@ 2017-06-09 16:10 Walker, Benjamin
0 siblings, 0 replies; 4+ messages in thread
From: Walker, Benjamin @ 2017-06-09 16:10 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]
On Fri, 2017-06-09 at 15:59 +0000, Walker, Benjamin wrote:
> Hi Brendan,
>
> We changed the format expected for 'filename' in the fio configuration file a
> few months back so we can support NVMe-oF. You are using the old format, but
> you
> must have pulled updated code. See:
>
> https://github.com/spdk/spdk/tree/master/examples/nvme/fio_plugin
>
> In your config file, change
>
> filename=0000.04.00.0/1
>
> to
>
> filename='trtype=PCIe traddr=0000.04.00.0 ns=1'
I was mistaken and you actually can't use quotes here. It has to be:
filename=trtype=PCIe traddr=0000.04.00.0 ns=1
Sorry about that.
>
> That should fix it up.
>
> Thanks,
> Ben
>
> On Fri, 2017-06-09 at 10:43 +0000, OConnell, Brendan (Eng) wrote:
> > Hi,
> > When trying to run the FIO Plugin I get an error:
> > Failed to find namespace 'ns=X'
> > I believe I have installed everything correctly and SPDK grabs the drives as
> > expected.
> >
> > Any ideas where I may have gone wrong?
> >
> > It’s a new Centos7 build with kernel 4.11
> >
> > Thanks
> > Brendan
> > _______________________________________________
> > SPDK mailing list
> > SPDK(a)lists.01.org
> > https://lists.01.org/mailman/listinfo/spdk
>
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3274 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SPDK] FIO Plugin ERROR - Failed to find namespace 'ns=X'
@ 2017-06-15 10:36 OConnell, Brendan
0 siblings, 0 replies; 4+ messages in thread
From: OConnell, Brendan @ 2017-06-15 10:36 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]
Thanks Ben - its working great now
-----Original Message-----
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Walker, Benjamin
Sent: 09 June 2017 17:11
To: spdk(a)lists.01.org
Subject: Re: [SPDK] FIO Plugin ERROR - Failed to find namespace 'ns=X'
On Fri, 2017-06-09 at 15:59 +0000, Walker, Benjamin wrote:
> Hi Brendan,
>
> We changed the format expected for 'filename' in the fio configuration
> file a few months back so we can support NVMe-oF. You are using the
> old format, but you must have pulled updated code. See:
>
> https://github.com/spdk/spdk/tree/master/examples/nvme/fio_plugin
>
> In your config file, change
>
> filename=0000.04.00.0/1
>
> to
>
> filename='trtype=PCIe traddr=0000.04.00.0 ns=1'
I was mistaken and you actually can't use quotes here. It has to be:
filename=trtype=PCIe traddr=0000.04.00.0 ns=1
Sorry about that.
>
> That should fix it up.
>
> Thanks,
> Ben
>
> On Fri, 2017-06-09 at 10:43 +0000, OConnell, Brendan (Eng) wrote:
> > Hi,
> > When trying to run the FIO Plugin I get an error:
> > Failed to find namespace 'ns=X'
> > I believe I have installed everything correctly and SPDK grabs the
> > drives as expected.
> >
> > Any ideas where I may have gone wrong?
> >
> > It’s a new Centos7 build with kernel 4.11
> >
> > Thanks
> > Brendan
> > _______________________________________________
> > SPDK mailing list
> > SPDK(a)lists.01.org
> > https://lists.01.org/mailman/listinfo/spdk
>
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-15 10:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-09 16:10 [SPDK] FIO Plugin ERROR - Failed to find namespace 'ns=X' Walker, Benjamin
-- strict thread matches above, loose matches on Subject: below --
2017-06-15 10:36 OConnell, Brendan
2017-06-09 15:59 Walker, Benjamin
2017-06-09 10:43 OConnell, Brendan
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.