[lustre-discuss] Lustre clients do not mount storage automatically

Dilger, Andreas andreas.dilger at intel.com
Tue Oct 24 14:03:05 PDT 2017


On Oct 24, 2017, at 07:31, Ravi Konila <ravibhatk at gmail.com> wrote:
> 
> Hi Bob
>  
> I have done that. The line in fstab is
>  
> 192.168.0.50 at o2ib:/lhome    /home    lustre    defaults,_netdev    0 0
>  
> If I add mount command in rc.local twice, it works..surprise..
>  
> my rc.local has
>  
> mount –t lustre 192.168.0.50 at o2ib:/lhome    /home
> mount –t lustre 192.168.0.50 at o2ib:/lhome    /home

You can add the mount option "retry=5" so that it will retry the
mount 5 times, in case the network is taking a long time to start.
The _netdev mount option _should_ handle this, not sure what the
problem is you are seeing.

Cheers, Andreas

> Ravi Konila
> From: Bob Ball
> Sent: Tuesday, October 24, 2017 6:10 PM
> To: Ravi Konila ; Lustre Discuss
> Subject: Re: [lustre-discuss] Lustre clients do not mount storage automatically
>  
> If mounting from /etc/fstab, try adding "_netdev" as a parameter.  This forces the mount to wait until the network is ready.
> 
> bob
> 
> On 10/24/2017 5:58 AM, Ravi Konila wrote:
>> Hi
>> My lustre clients does not mount lustre storage automatically on reboot.
>> I tried by adding in fstab as well as in /etc/rc.local, but on reboot they don’t mount lustre file system .
>> I get the following error (/var/log/messages output)
>>  
>> Oct 24 15:17:40 headnode02 named[6296]: client 127.0.0.1#50559: error sending response: host unreachable
>> Oct 24 15:17:54 headnode02 kernel: LustreError: 15c-8: MGC192.168.0.50 at o2ib: The configuration from log 'lhome-client' failed (-5). This may be the result of communication errors between this node and the MGS, a bad configuration, or other errors. See the syslog for more information.
>> Oct 24 15:17:54 headnode02 kernel: Lustre: Unmounted lhome-client
>> Oct 24 15:17:54 headnode02 kernel: LustreError: 8116:0:(obd_mount.c:1426:lustre_fill_super()) Unable to mount  (-5)
>>  
>> But later on if I mount manually with the command
>> mount –t lustre 192.168.0.50 at o2ib:/lhome /home, it works fine.
>> My lustre version is 2.8 and RHEL 6.7
>>  
>> Any suggestions?
>>  
>> Regards
>>  
>> Ravi Konila
>> 
>> 
>> _______________________________________________
>> 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

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Intel Corporation









More information about the lustre-discuss mailing list