Re: [Gluster-users] Problem mounting Gluster volume [3.3]
On Wed, Aug 15, 2012 at 12:06:09AM +0200, Paolo Di Tommaso wrote: Hi, I'm mounting using the following sudo mount -t glusterfs master:/vol1 /soft The command should be right since, it works in on the server node (master) but it is failing on a client. Also I'm using the latests versions 3.3. (and it was working with the 3.2) Same version of Linux on the client and on the server? What's the output of gluster volume info on the server? If you had a replicated or distributed volume consisting of master:/brick and slave:/brick, then the client needs to be able to resolve both master and slave. Otherwise, something odd is happening. I would first do grep -i master /etc/hosts and look for anything obvious (repeat for any other brick hostnames in the volume). Next I would run a DNS tcpdump on the client: sudo tcpdump -i eth0 -nn -s0 udp port 53 and do the mount again in a different window, and go back to the DNS tcpdump to see what's seen. If neither of those turn up anything, I would strace the whole mount process: sudo strace -f mount -t glusterfs master:/vol1 /soft 2strace.log and then look at the tail end of this log, and see what it was doing just before it wrote the error to the screen. HTH, Brian. ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
[Gluster-users] Problem mounting Gluster volume [3.3]
Dear all, I'm struggling mounting a Gluster shared volume. I was able to create a simple volume with just one brick local to the server node and mount it. But on the client node the mount if failing. The log reports the error (I've attached below the reported log file) : connection to failed (No route to host) But I'm able to ping the server node, so this is confusing me. Any idea what is causing this error ? Cheers Paolo [2012-08-14 10:42:05.136446] I [glusterfsd.c:1666:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.3.0 [2012-08-14 10:42:05.550471] E [socket.c:1715:socket_connect_finish] 0-glusterfs: connection to failed (No route to host) [2012-08-14 10:42:05.550629] E [glusterfsd-mgmt.c:1783:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: Transport endpoint is not connected [2012-08-14 10:42:05.550789] I [glusterfsd-mgmt.c:1786:mgmt_rpc_notify] 0-glusterfsd-mgmt: -1 connect attempts left [2012-08-14 10:42:05.551233] W [glusterfsd.c:831:cleanup_and_exit] (--/usr/lib64/libgfrpc.so.0(rpc_transport_notify+0x27) [0x7ffcee7ee1e7] (--/usr/lib64/libgfrpc.so.0(rpc_clnt_notify+0x114) [0x7ffcee7f21d4] (--/usr/sbin/glusterfs() [0x40c5a6]))) 0-: received signum (1), shutting down [2012-08-14 10:42:05.551289] I [fuse-bridge.c:4643:fini] 0-fuse: Unmounting '/soft'. ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Re: [Gluster-users] Problem mounting Gluster volume [3.3]
On Tue, Aug 14, 2012 at 04:56:17PM +0200, Paolo Di Tommaso wrote: The log reports the error (I've attached below the reported log file) : connection to failed (No route to host) ^^^ Missing hostname here. What exact command are you typing to try and mount? Also what version of glusterfs are you using? ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Re: [Gluster-users] Problem mounting Gluster volume [3.3]
Hi, I'm mounting using the following sudo mount -t glusterfs master:/vol1 /soft The command should be right since, it works in on the server node (master) but it is failing on a client. Also I'm using the latests versions 3.3. (and it was working with the 3.2) Best Paolo On Tue, Aug 14, 2012 at 9:21 PM, Brian Candler b.cand...@pobox.com wrote: On Tue, Aug 14, 2012 at 04:56:17PM +0200, Paolo Di Tommaso wrote: The log reports the error (I've attached below the reported log file) : connection to failed (No route to host) ^^^ Missing hostname here. What exact command are you typing to try and mount? Also what version of glusterfs are you using? ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Re: [Gluster-users] Problem mounting Gluster volume [3.3]
On Tue, Aug 14, 2012 at 7:06 PM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: Hi, I'm mounting using the following sudo mount -t glusterfs master:/vol1 /soft can you ping master from client? The command should be right since, it works in on the server node (master) but it is failing on a client. Also I'm using the latests versions 3.3. (and it was working with the 3.2) Best Paolo On Tue, Aug 14, 2012 at 9:21 PM, Brian Candler b.cand...@pobox.com wrote: On Tue, Aug 14, 2012 at 04:56:17PM +0200, Paolo Di Tommaso wrote: The log reports the error (I've attached below the reported log file) : connection to failed (No route to host) ^^^ Missing hostname here. What exact command are you typing to try and mount? Also what version of glusterfs are you using? ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users -- Marcelo ¿No será acaso que esta vida moderna está teniendo más de moderna que de vida? (Mafalda) ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
Re: [Gluster-users] Problem mounting Gluster volume [3.3]
On Tue, Aug 14, 2012 at 7:56 AM, Paolo Di Tommaso paolo.ditomm...@gmail.com wrote: [2012-08-14 10:42:05.550471] E [socket.c:1715:socket_connect_finish] 0-glusterfs: connection to failed (No route to host) ping uses icmp whereas the mount command uses TCP and they can use different routing (as I was just taught by my network admins). Does ssh work? I believe that a gluster mount has to succeed by both forward and reverse DNS (like ssh.. well to work without spewing warnings). try traceroute to the server and see if its IP # resolves to the same host. Are the rest of the gluster hosts resolvable in the same way? Do you have old /etc/hosts entries that might interfere with the DNS resolution? hjm -- Harry Mangalam - Research Computing, OIT, Rm 225 MSTB, UC Irvine [m/c 2225] / 92697 Google Voice Multiplexer: (949) 478-4487 415 South Circle View Dr, Irvine, CA, 92697 [shipping] MSTB Lat/Long: (33.642025,-117.844414) (paste into Google Maps) ___ Gluster-users mailing list Gluster-users@gluster.org http://gluster.org/cgi-bin/mailman/listinfo/gluster-users