If you have ib0 device check dmesg for more hints on what is going wrong.

Thanks,
Keith
From: Parag Khuraswar [mailto:para...@citilindia.com]
Sent: Friday, November 10, 2017 10:59 AM
To: Mannthey, Keith <keith.mannt...@intel.com>; lustre-discuss@lists.lustre.org
Subject: RE: [lustre-discuss] error while configuring lnet

Hi,

Basically I am trying to add lnet. Deleting is just try whether it is happing 
or not.
Main is I want to add o2ib network. Which is giving error "invalid argument "
==================
[root@mds2 ~]# lnetctl net add --net o2ib --if ib0
add:
    - net:
          errno: -22
          descr: "cannot add network: Invalid argument"
================
I am really not able to understand what argument is invalid in my command.
I am able to ping ib0 network

Regards,
Parag


From: Mannthey, Keith [mailto:keith.mannt...@intel.com]
Sent: Friday, November , 2017 10:51 PM
To: Parag Khuraswar; 
lustre-discuss@lists.lustre.org<mailto:lustre-discuss@lists.lustre.org>
Subject: RE: [lustre-discuss] error while configuring lnet

What are you trying to accomplish?

>From below:

10.1.1.205@tcp<mailto:10.1.1.205@tcp> is on 0@lo not eno1 and in general you 
should not need the "-if" option to delete a fabric.

Try: # lnetctl net del --net tcp

Can you do a normal ping over ib0?

"dmesg" can sometime provide greater details about errors like this.

Thanks,
Keith


From: lustre-discuss [mailto:lustre-discuss-boun...@lists.lustre.org] On Behalf 
Of Parag Khuraswar
Sent: Friday, November 10, 2017 9:10 AM
To: lustre-discuss@lists.lustre.org<mailto:lustre-discuss@lists.lustre.org>
Subject: [lustre-discuss] error while configuring lnet

Hi,

I am trying to add lnet but getting below error.
======================
[root@mds2 ~]# lnetctl net show
net:
    - net type: lo
      local NI(s):
        - nid: 0@lo
          status: up
    - net type: tcp
      local NI(s):
        - nid: 10.1.1.205@tcp<mailto:10.1.1.205@tcp>
          status: up
[root@mds2 ~]# lnetctl net add --net o2ib --if ib0
add:
    - net:
          errno: -22
          descr: "cannot add network: Invalid argument"
[root@mds2 ~]# lnetctl net del --net tcp --if eno1
del:
    - net:
          errno: -22
          descr: "cannot del network: Invalid argument"
[root@mds2 ~]# lctl list_nids
10.1.1.205@tcp<mailto:10.1.1.205@tcp>
[root@mds2 ~]#
====================================


Regards,
Parag


_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to