Content-Type: multipart/mixed; boundary="===============4882636055656880876==" MIME-Version: 1.0 From: lullajd at yahoo.com Subject: [SPDK] nvme_bdev_add_ns: *ERROR*: Namespaces are not identical. Date: Sun, 21 Nov 2021 23:06:46 +0000 Message-ID: <20211121230646.2813.20019@ml01.vlan13.01.org> List-ID: To: spdk@lists.01.org --===============4882636055656880876== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, This is with v21.10-rc1-122-g64fa301f6 When I try to configure multipath and run bdevperf, I see that nvme_bdev_ad= d_ns() is complaining that "Namespaces are not identical". Could anybody pl= ease suggest what is wrong in the conf file ? Here is my nvme discover o/p at initiator: root(a)myVM:~/user/spdk# nvme discover -t tcp -a 10.1.109.152 -q nqn.2015-0= 9.com.Xyz:15.4.7.3 Discovery Log Number of Records 2, Generation counter 1 =3D=3D=3D=3D=3DDiscovery Log Entry 0=3D=3D=3D=3D=3D=3D trtype: tcp adrfam: ipv4 subtype: nvme subsystem treq: not specified portid: 0 trsvcid: 4420 subnqn: nqn.2015-09.com.xyz:93111e6e-663a-4ad0-9028-a3d75d90e5d3 traddr: 15.161.1.2 sectype: none =3D=3D=3D=3D=3DDiscovery Log Entry 1=3D=3D=3D=3D=3D=3D trtype: tcp adrfam: ipv4 subtype: nvme subsystem treq: not specified portid: 0 trsvcid: 4420 subnqn: nqn.2015-09.com.xyz:93111e6e-663a-4ad0-9028-a3d75d90e5d3 traddr: 15.162.2.2 sectype: none here is my dev_new.conf root(a)myVM:~/user/spdk# cat ../bdev_new.conf = { "subsystems": [ { "subsystem": "bdev", "config": [ { "method": "bdev_nvme_set_options", "params": { "timeout_us": 255000000, "bdev_retry_count": -1, "action_on_timeout": "none" } }, { "method": "bdev_nvme_attach_controller", "params": { "name": "Nvme0", "trtype": "tcp", "traddr": "15.161.1.2", "trsvcid": "4420", "subnqn": "nqn.2015-09.com.xyz:93111e6e-663a-4ad0-9028-a3d75d90= e5d3", "adrfam": "IPv4", "hostnqn": "nqn.2015-09.com.Xyz:15.4.7.3", "multipath": "multipath" } }, { "method": "bdev_nvme_attach_controller", "params": { "name": "Nvme0", "trtype": "tcp", "traddr": "15.162.2.2", "trsvcid": "4420", "subnqn": "nqn.2015-09.com.xyz:93111e6e-663a-4ad0-9028-a3d75d90= e5d3", "adrfam": "IPv4", "multipath": "multipath", "hostnqn": "nqn.2015-09.com.Xyz:15.4.7.3" } } ] } ] } here is the bdevperf run showing "Namespaces are not identical". root(a)myVM:~/user/spdk# ./test/bdev/bdevperf/bdevperf -q 1 -o 4096 -w rand= write -c /home/localadmin/user/bdev_new.conf -t 60 -k 9999999 [2021-11-21 22:56:23.465497] Starting SPDK v22.01-pre git sha1 64fa301f6 / = DPDK 21.08.0 initialization... [2021-11-21 22:56:23.465680] [ DPDK EAL parameters: [2021-11-21 22:56:23.46= 6282] bdevperf [2021-11-21 22:56:23.466548] --no-shconf [2021-11-21 22:56:2= 3.466602] -c 0x1 [2021-11-21 22:56:23.467107] --log-level=3Dlib.eal:6 [2021= -11-21 22:56:23.467165] --log-level=3Dlib.cryptodev:5 [2021-11-21 22:56:23.= 467690] --log-level=3Duser1:6 [2021-11-21 22:56:23.467745] --iova-mode=3Dpa= [2021-11-21 22:56:23.467994] --base-virtaddr=3D0x200000000000 [2021-11-21 = 22:56:23.468136] --match-allocations [2021-11-21 22:56:23.468172] --file-pr= efix=3Dspdk_pid12913 [2021-11-21 22:56:23.468262] ] TELEMETRY: No legacy callbacks, legacy socket not created [2021-11-21 22:56:23.600199] app.c: 543:spdk_app_start: *NOTICE*: Total cor= es available: 1 [2021-11-21 22:56:23.877499] reactor.c: 943:reactor_run: *NOTICE*: Reactor = started on core 0 [2021-11-21 22:56:23.886093] accel_engine.c:1012:spdk_accel_engine_initiali= ze: *NOTICE*: Accel engine initialized to use software engine. [2021-11-21 22:56:24.102809] bdev_nvme.c:2555:nvme_bdev_add_ns: *ERROR*: Na= mespaces are not identical. Running I/O for 60 seconds... Job: Nvme0n1 (Core Mask 0x1) Nvme0n1 : 14367.88 IOPS 56.12 MiB/s =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Total : 14367.88 IOPS 56.12 MiB/s root(a)myVM:~/user/spdk# --===============4882636055656880876==--