[Gluster-users] gluster 3.6.1 mount failed with no error to terminal (sometimes)
Joe Julian
joe at julianfamily.org
Fri Dec 19 17:36:29 UTC 2014
There's a typo in your hostname. The error in the log also mentions that
it could not find the hostname.
On 12/19/2014 06:31 AM, Kingsley wrote:
> I have four CentOS 7 servers set up with gluster 3.6.1 and have a single
> replicated volume across these. All servers are set up the same as each
> other and are brand new installations.
>
> To test, I've mounted the volume on each so that each server can also
> use the volume as a client.
>
> The weird thing is, while the mount failed for an obvious reason, I
> didn't always get an error back to the terminal (I pasted the mount
> command to the other terminal windows before spotting I'd made a typo in
> the server name, which is why the mount attempts had failed). Why would
> an error not be sent to the terminal sometimes, but not always?
>
> Transcript:
>
> [root at gluster1b-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0
> Mount failed. Please check the log file for more details.
> [root at gluster1b-1 ~]#
>
> [root at gluster2a-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0
> [root at gluster2a-1 ~]#
>
> [root at gluster2b-1 ~]# mount -t glusterfs glsuter1a-1:gv0 /mnt/gv0/
> [root at gluster2b-1 ~]#
>
> Mount logs below - no significant differences between them:
>
> Mount log from gluster1b-1:
> [2014-12-19 14:06:26.580652] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0)
> [2014-12-19 14:06:26.775351] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known)
> [2014-12-19 14:06:26.775388] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1
> [2014-12-19 14:06:26.775448] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success)
> [2014-12-19 14:06:26.775459] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers
> [2014-12-19 14:06:26.784373] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down
> [2014-12-19 14:06:26.784400] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'.
> [2014-12-19 14:06:26.784721] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down
>
> Mount log from gluster2a-1:
> [2014-12-19 14:06:03.041475] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0)
> [2014-12-19 14:06:03.270815] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known)
> [2014-12-19 14:06:03.270858] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1
> [2014-12-19 14:06:03.270921] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success)
> [2014-12-19 14:06:03.270931] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers
> [2014-12-19 14:06:03.271043] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down
> [2014-12-19 14:06:03.271059] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'.
> [2014-12-19 14:06:03.271369] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down
>
> Mount log from gluster2b-1:
> [2014-12-19 14:08:57.724155] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs --volfile-server=glsuter1a-1 --volfile-id=gv0 /mnt/gv0)
> [2014-12-19 14:08:57.985704] E [common-utils.c:227:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known)
> [2014-12-19 14:08:57.985732] E [name.c:242:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host glsuter1a-1
> [2014-12-19 14:08:57.985787] E [glusterfsd-mgmt.c:1811:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: glsuter1a-1 (Success)
> [2014-12-19 14:08:57.985798] I [glusterfsd-mgmt.c:1817:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers
> [2014-12-19 14:08:57.985902] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (1), shutting down
> [2014-12-19 14:08:57.985921] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gv0'.
> [2014-12-19 14:08:57.986163] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down
>
More information about the Gluster-users
mailing list