[lustre-discuss] Fwd: FW: mdt mounting error

Parag Khuraswar parag_k at citilindia.com
Fri Nov 10 11:01:36 PST 2017


Hi Martin,

Yes this is the problem but I am not able to make lnet up. Getting below error.

[root at mds2 ~]# lnetctl net add --net o2ib --if ib0
add:
    - net:
          errno: -22
          descr: "cannot add network: Invalid argument"


Regards,
Parag


-----Original Message-----
From: Martin Hecht [mailto:hecht at hlrs.de] 
Sent: Thursday, November , 2017 4:56 PM
To: lustre-discuss at lists.lustre.org
Cc: Parag Khuraswar
Subject: Re: [lustre-discuss] Fwd: FW: mdt mounting error

Hi Parag,

can you lctl ping 10.2.1.204 at o2ib from the mgs node and from the mds
now? I have seen on the list that you were able to load the modules, but
well, if lnet is not working on the ib this might be a the reason for
the errors you are seeing.

Regards,
Martin


On 11/08/2017 09:15 AM, Parag Khuraswar wrote:
> Hi,
>
> Any resolution on this ?
>
> Regards,
> Parag.
>
>
>
> -------- Original Message --------
> Subject: [lustre-discuss] FW:  mdt mounting error
> Date: 2017-11-07 15:29
> From: "Parag Khuraswar" <parag_k at citilindia.com>
> To: "'Lustre discussion'" <lustre-discuss at lists.lustre.org>
>
> Hi,
>
> Lustre module is loaded.  I am getting bellow errors in
> /var/log/messaged while mounting mdt.
>
> Nov  7 14:10:03 mds1 kernel: LDISKFS-fs (dm-2): mounted filesystem with
> ordered data mode. Opts:
> user_xattr,errors=remount-ro,no_mbcache,nodelalloc
>
> Nov  7 14:10:03 mds1 kernel: LustreError:
> 4852:0:(ldlm_lib.c:483:client_obd_setup()) can't add initial connection
>
> Nov  7 14:10:03 mds1 kernel: LustreError:
> 4852:0:(obd_config.c:608:class_setup()) setup MGC10.2.1.204 at o2ib failed
> (-2)
>
> Nov  7 14:10:03 mds1 kernel: LustreError:
> 4852:0:(obd_mount.c:202:lustre_start_simple()) MGC10.2.1.204 at o2ib setup
> error -2
>
> Nov  7 14:10:03 mds1 kernel: LustreError:
> 4852:0:(obd_mount_server.c:1573:server_put_super()) no obd home-MDT0000
>
> Nov  7 14:10:03 mds1 kernel: LustreError:
> 4852:0:(obd_mount_server.c:132:server_deregister_mount()) home-MDT0000
> not registered
>
> Nov  7 14:10:03 mds1 kernel: Lustre: server umount home-MDT0000 complete
>
> Nov  7 14:10:03 mds1 kernel: LustreError:
> 4852:0:(obd_mount.c:1504:lustre_fill_super()) Unable to mount  (-2)
>
> Regards,
>
> Parag
>
> FROM: Ben Evans [mailto:bevans at cray.com]
> SENT: Wednesday, November , 2017 6:19 PM
> TO: Raj; Parag Khuraswar
> CC: Lustre discussion
> SUBJECT: Re: [lustre-discuss] mdt mounting error
>
> On the node in question Try: lsmod | grep lustre
>
> followed by: modprobe lustre
>
> I'm betting the modules aren't loaded for some reason, generally that
> reason is found in dmesg.
>
> FROM: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf
> of Raj <rajgautam at gmail.com>
> DATE: Wednesday, November 1, 2017 at 7:48 AM
> TO: Parag Khuraswar <parag_k at citilindia.com>
> CC: Lustre discussion <lustre-discuss at lists.lustre.org>
> SUBJECT: Re: [lustre-discuss] mdt mounting error
>
> Parag, I have not tested two FS using a common MGT and I don't know
> whether it is supported.
>
> On Wed, Nov 1, 2017 at 6:37 AM Parag Khuraswar <parag_k at citilindia.com>
> wrote:
>
>> Hi Raj,
>>
>> But I have two file systems,
>> And I think I can use one mgt for two filesystems. Please correct me
>> if
>> I am wrong.
>>
>> Regards,
>> Parag
>>
>> On 2017-11-01 16:56, Raj wrote:
>>> The following can contribute to this issue:
>>> - Missing FS name in mgt creation (it must be <=9 character long):
>>> --fsname=
>>> mkfs.lustre --servicenode=10.2.1.204 at o2ib
>>> --servicenode=10.2.1.205 at o2ib --FSNAME=HOME --mgs /dev/mapper/mpathc
>>>
>>> - verify if /mdt directory exists
>>>
>>> On Wed, Nov 1, 2017 at 6:16 AM Raj <rajgautam at gmail.com> wrote:
>>>
>>>> What options in mkfs.lustre did you use to format with lustre?
>>>>
>>>> On Wed, Nov 1, 2017 at 6:14 AM Parag Khuraswar
>>>> <parag_k at citilindia.com> wrote:
>>>>
>>>> Hi Raj,
>>>>
>>>> Yes, /dev/mapper/mpatha available.
>>>>
>>>> I could format and mount using ext4.
>>
>>>>
>>>> Regards,
>>>>
>>>> Parag
>>>>
>>>> FROM: Raj [mailto:rajgautam at gmail.com]
>>>> SENT: Wednesday, November , 2017 4:39 PM
>>>> TO: Parag Khuraswar; Lustre discussion
>>>> SUBJECT: Re: [lustre-discuss] mdt mounting error
>>>>
>>>> Parag,
>>>> Is the device /dev/mapper/mpatha available?
>>>> If not, the multipathd may not have started or the multipath
>>>> configuration may not be correct.
>>>>
>>>> On Wed, Nov 1, 2017 at 5:18 AM Parag Khuraswar
>>>> <parag_k at citilindia.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am getting below error while mounting mdt. Mgt is mounted.
>>>>
>>>> Please suggest
>>>>
>>>> [root at mds2 ~]# mount -t lustre /dev/mapper/mpatha /mdt
>>>>
>>>> mount.lustre: mount /dev/mapper/mpatha at /mdt failed: No such file
>>>> or directory
>>>>
>>>> Is the MGS specification correct?
>>>>
>>>> Is the filesystem name correct?
>>>>
>>>> If upgrading, is the copied client log valid? (see upgrade docs)
>>>>
>>>> Regards,
>>>>
>>>> Parag
>>>>
>>>> _______________________________________________
>>>> lustre-discuss mailing list
>>>> lustre-discuss at lists.lustre.org
>>>> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org





More information about the lustre-discuss mailing list