[Gluster-users] NFS tcp session cannot be established with gluster server

Christos Tsalidis chtsalid at gmail.com
Wed Jul 18 09:58:44 UTC 2018

Hi all,

I am encountering the following problem, my nfs tcp session cannot be
established with gluster server. Here are some outputs from debugging.

[root at glusterfs1 ~]# glusterd --version
glusterfs 3.12.11
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/>
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

[root at glusterfs1 ~]# gluster volume info replvol

Volume Name: replvol
Type: Replicate
Volume ID: 6d254f26-16cf-4c36-9510-0940be946a46
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x 2 = 2
Transport-type: tcp,rdma
Brick1: glusterfs1:/bricks/brick-a1/brick
Brick2: glusterfs2:/bricks/brick-b1/brick
Options Reconfigured:
nfs.disable: off
nfs.ports-insecure: on
performance.client-io-threads: off
transport.address-family: inet
nfs.transport-type: tcp

[root at glusterfs-workstation ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP group default qlen 1000
    link/ether 00:0c:29:32:35:e4 brd ff:ff:ff:ff:ff:ff
    inet brd scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:fe32:35e4/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
[root at glusterfs-workstation ~]# ping glusterfs1
PING glusterfs1.lab.local ( 56(84) bytes of data.
64 bytes from glusterfs1.lab.local ( icmp_seq=1 ttl=64
time=0.902 ms
64 bytes from glusterfs1.lab.local ( icmp_seq=2 ttl=64
time=0.768 ms
64 bytes from glusterfs1.lab.local ( icmp_seq=3 ttl=64
time=0.585 ms
--- glusterfs1.lab.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2005ms
rtt min/avg/max/mdev = 0.585/0.751/0.902/0.133 ms

[root at glusterfs-workstation ~]# cat /etc/fstab | grep nfs
glusterfs1.lab.local:/replvol /mnt/mediadata nfs defaults,_netdev 0 0
[root at glusterfs-workstation ~]# mount -a
mount.nfs: Connection refused

I also attached a .pcap file, where you will see that server resets the tcp

Any idea?

Many thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180718/0f96a26b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file1.pcap
Type: application/octet-stream
Size: 93858 bytes
Desc: not available
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180718/0f96a26b/attachment.obj>

More information about the Gluster-users mailing list