Glusterfs : 'No route to host' for fstab mount in CentOS

Posted by son_of_fire on Server Fault See other posts from Server Fault or by son_of_fire
Published on 2014-05-29T08:47:50Z Indexed on 2014/05/29 9:29 UTC
Read the original article Hit count: 464

Filed under:
|
|
|
|

I am using glusterfs, and am using fstab in this way:

<IPADDRESS>:/<VOLUMENAME> /some/mount/point glusterfs defaults,_netdev 0 0

but the logs for the mount continue to say the following.

[<TIMESTAMP>] E [socket.c:2161:socket_connect_finish] 0-<VOLUMENAME>-client-1: connection to <IPADDRESS>:24007 failed (No route to host)

I know this is not true, since when the system is up and running, I can easily issue a mount and the volume gets mounted. (I've done this by using rc.local)

after reading more I have seen that using _netdev is preferred, and that if the host cannot be reached netfs will remount the volume after the network comes up, but that is not happening. (netfs is running).

Is there a way to make the mount happen at a different time without using a script?

(I would prefer to use fstab to manage the mounting even though I can use a script.)

© Server Fault or respective owner

Related posts about linux

Related posts about networking