Mount failed. Please check the log file for more details.
Getting this?
Mount failed. Please check the log file for more details.
Do some checks:
tail -f /var/log/messages /var/log/glusterfs/*.log
to get this:
Sep 23 21:37:21 mdskvm-p01 kernel: ovirtmgmt: received packet on bond0 with own address as source address (addr:78:e7:d1:8f:4d:26, vlan:0)
==> /var/log/glusterfs/g.log <==
[2019-09-24 01:37:22.454768] I [MSGID: 100030] [glusterfsd.c:2511:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.12.15 (args: /usr/sbin/glusterfs –volfile-server=mdskvm-p01.mds.xyz –volfile-id=mdsgv01 /g)
[2019-09-24 01:37:22.463887] W [MSGID: 101002] [options.c:995:xl_opt_validate] 0-glusterfs: option 'address-family' is deprecated, preferred is 'transport.address-family', continuing with correction
[2019-09-24 01:37:22.470752] E [MSGID: 101075] [common-utils.c:324:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Name or service not known)
[2019-09-24 01:37:22.470797] E [name.c:267:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host mdskvm-p01.mds.xyz
[2019-09-24 01:37:22.471066] I [glusterfsd-mgmt.c:2277:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: mdskvm-p01.mds.xyz
[2019-09-24 01:37:22.471102] I [glusterfsd-mgmt.c:2298:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers
[2019-09-24 01:37:22.471201] I [MSGID: 101190] [event-epoll.c:613:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2019-09-24 01:37:22.471537] W [glusterfsd.c:1375:cleanup_and_exit] (–>/lib64/libgfrpc.so.0(rpc_clnt_notify+0xab) [0x7f4cbbafcf3b] –>/usr/sbin/glusterfs(+0x1155d) [0x561197af255d] –>/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x561197aeb32b] ) 0-: received signum (1), shutting down
[2019-09-24 01:37:22.471626] I [fuse-bridge.c:5852:fini] 0-fuse: Unmounting '/g'.
==> /var/log/messages <==
Sep 23 21:37:22 mdskvm-p01 systemd: Unit g.mount entered failed state.
==> /var/log/glusterfs/g.log <==
[2019-09-24 01:37:22.480028] I [fuse-bridge.c:5857:fini] 0-fuse: Closing fuse connection to '/g'.
[2019-09-24 01:37:22.480212] W [glusterfsd.c:1375:cleanup_and_exit] (–>/lib64/libpthread.so.0(+0x7dd5) [0x7f4cbab93dd5] –>/usr/sbin/glusterfs(glusterfs_sigwaiter+0xe5) [0x561197aeb4b5] –>/usr/sbin/glusterfs(cleanup_and_exit+0x6b) [0x561197aeb32b] ) 0-: received signum (15), shutting down
==> /var/log/messages <==
Sep 23 21:37:22 mdskvm-p01 kernel: ovirtmgmt: received packet on bond0 with own address as source address (addr:78:e7:d1:8f:4d:26, vlan:0)
Sep 23 21:37:23 mdskvm-p01 kernel: ovirtmgmt: received packet on bond0 with own address as source address (addr:78:e7:d1:8f:4d:26, vlan:0)
Sep 23 21:37:24 mdskvm-p01 kernel: ovirtmgmt: received packet on bond0 with own address as source address (addr:78:e7:d1:8f:4d:26, vlan:0)
And fix it by adding a proper hostname:
[root@mdskvm-p01 ~]# cat /etc/fstab |grep gluster
mdskvm-p01.mds.xyz:mdsgv01 /g glusterfs defaults,_netdev 0 0
[root@mdskvm-p01 ~]#
should be:
[root@mdskvm-p01 ~]# cat /etc/fstab |grep gluster
mdskvm-p01.nix.mds.xyz:mdsgv01 /g glusterfs defaults,_netdev 0 0
[root@mdskvm-p01 ~]#
Cheers,
TK