Re: 答复: Gluster/NFS mount issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



NP!  Happy to help!  Yepo if you see that message you can assume that the NIC wasn't fully up and when it tried to contact the server but wasn't yet able to route traffic.

-b

----- Original Message -----
> From: "何亦军" <heyijun@xxxxxxxxxxxxxxxx>
> To: "Ben Turner" <bturner@xxxxxxxxxx>
> Cc: gluster-users@xxxxxxxxxxx
> Sent: Thursday, March 26, 2015 9:23:31 PM
> Subject: 答复:  Gluster/NFS mount issues
> 
> Thanks Ben Turner,
> 
> The  LINKDELAY=time  fixed my fstab problem,  thank very much.
> 
> BTW, my issue message in log:
> 
> [socket.c:2267:socket_connect_finish] 0-glusterfs: connection to
> 192.168.0.61:24007 failed (No route to host)
> [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect
> with remote-host: gwgfs01 (Transport endpoint is not connected)
> ________________________________
> From: "Ben Turner" <bturner@xxxxxxxxxx<mailto:bturner@xxxxxxxxxx>>
> To: "Alun James" <ajames@xxxxxxxxx<mailto:ajames@xxxxxxxxx>>
> Cc: gluster-users@xxxxxxxxxxx<mailto:gluster-users@xxxxxxxxxxx>
> Sent: Wednesday, 25 March, 2015 9:21:14 PM
> Subject: Re:  Gluster/NFS mount issues
> 
> Normally when I see this the NICs are not fully initialized.  I have done a
> couple different things to work around this:
> 
> -Try adding the linkdelay parameter to the ifcfg script:
> 
> LINKDELAY=time
> where time is the number of seconds to wait for link negotiation before
> configuring the device.
> 
> -Try turning on portfast on your switch to speed up negotiation.
> 
> -Try putting a sleep in your init scripts just before it goes to mount your
> fstab items
> 
> -Try putting the mount command in rc.local or whatever is the last thing your
> system does before it boots.
> 
> Last time I looked at the _netdev code it only looked for an active link, it
> didn't ensure that the NIC was up and able to send traffic.  I would start
> with the linkdelay and go from there.  LMK how this works out for ya, I am
> not very well versed on the Ubuntu boot process :/
> 
> -b
> 
> 
> 
> 
> 
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux