[SPDK] Re: SPDK Controller create failure
Harris, James R <james.r.harris at intel.com> Wed, 19 Oct 2022 14:19:52 +0000
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <BYAPR11MB3303A9AAA68C9C7F13E3A318DE2B9@BYAPR11MB3303.namprd11.prod.outlook.com> |
--===============6926081949409982778==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hi Niranjan and Tomek,
We use one of the max allowed subsystems for the discovery subsystem. I th=
ink this explains why Niranjan can only create 1023 subsystems instead of 1=
024.
See nvmf_add_discovery_subsystem() in module/event/subsystems/nvmf/nvmf_tgt=
.c.
Regards,
-Jim
From: N K Das <nkdas5544(a)gmail.com>
Date: Tuesday, October 18, 2022 at 11:45 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Re: SPDK Controller create failure
Thanks Tomek ! I started my spdk controller count from 0, so it should
ideally go to 1023 to make it 1024. If i start spdk controller count from
1, it goes to 1023 but ideally it should reach 1024.
[2022-09-29 12:47:12.205208] nvmf_rpc.c: 416:rpc_nvmf_create_subsystem:
*ERROR*: Unable to create subsystem nqn.2016-06.io.spdk:cnode1024
request:
{
"nqn": "nqn.2016-06.io.spdk:cnode1024",
"serial_number": "SPDK0000000001024",
"model_number": "SPDK_Controller1024",
"allow_any_host": true,
"method": "nvmf_create_subsystem",
"req_id": 1
}
Got JSON-RPC error response
response:
{
"code": -32603,
"message": "Unable to create subsystem nqn.2016-06.io.spdk:cnode1024"
}
+ exit
On Tue, Oct 18, 2022 at 4:34 PM Zawadzki, Tomasz <tomasz.zawadzki(a)intel.c=
om>
wrote:
> Hi Niranjan,
>
> The default max number of subsystems is set to 1024, please use
> nvmf_set_max_subsystems RPC to modify it.
>
> Could you double check if you've encountered the issue after 1024 or 1025
> controllers ? If there is an off-by one error somewhere here, please repo=
rt
> it to https://github.com/spdk/spdk/issues.
>
> Thanks,
> Tomek
>
> > -----Original Message-----
> > From: N K Das <nkdas5544(a)gmail.com>
> > Sent: Tuesday, October 18, 2022 12:45 PM
> > To: spdk(a)lists.01.org
> > Subject: [SPDK] SPDK Controller create failure
> >
> > Hi,
> > I was trying to create 1024 SPDK controller with 1 NS attached to each
> SPDK
> > controller. It creates upto 1023 SPDK controller but fails at 1024. Is
> there any
> > limitation on how many SPDK controller we can create in a single Linux
> server
> > ? I am using Ubuntu 20.04 Linux Server.
> >
> > Here is screenshot of error message:
> >
> > [2022-10-18 10:22:13.343807] nvmf_rpc.c: 416:rpc_nvmf_create_subsystem:
> > *ERROR*: Unable to create subsystem nqn.2016-06.io.spdk:cnode1023
> > request:
> > {
> > "nqn": "nqn.2016-06.io.spdk:cnode1023",
> > "serial_number": "SPDK0000000001023",
> > "model_number": "SPDK_Controller1023",
> > "allow_any_host": true,
> > "method": "nvmf_create_subsystem",
> > "req_id": 1
> > }
> > Got JSON-RPC error response
> > response:
> > {
> > "code": -32603,
> > "message": "Unable to create subsystem nqn.2016-06.io.spdk:cnode1023"
> > }
> > + exit
> >
> > Any help is appreciated.
> >
> > Regards,
> > Niranjan
> > _______________________________________________
> > SPDK mailing list -- spdk(a)lists.01.org
> > To unsubscribe send an email to spdk-leave(a)lists.01.org
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org
>
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
--===============6926081949409982778==--