<div dir="ltr"><div>Hi, it seems there is a problem with rpc service.</div><div><br></div><div>
<span class="gmail-gI"><span>[root@gluster-workstation ~]# mount -vvv -t nfs -o rw gluster-node1:/replvol /mnt/replvol<br>mount.nfs: timeout set for Thu Jul 19 09:53:01 2018<br>mount.nfs: trying text-based options &#39;vers=4.1,addr=192.168.70.151,clientaddr=192.168.70.153&#39;<br>mount.nfs: mount(2): Connection refused<br>mount.nfs: trying text-based options &#39;addr=192.168.70.151&#39;<br>mount.nfs: prog 100003, trying vers=3, prot=6<br>mount.nfs: portmap query retrying: RPC: Program not registered<br>mount.nfs: prog 100003, trying vers=3, prot=17<br>mount.nfs: portmap query failed: RPC: Program not registered<br>mount.nfs: trying text-based options &#39;vers=4.1,addr=192.168.70.151,clientaddr=192.168.70.153&#39;<br>mount.nfs: mount(2): Connection refused<br>mount.nfs: trying text-based options &#39;addr=192.168.70.151&#39;<br>mount.nfs: prog 100003, trying vers=3, prot=6<br>mount.nfs: portmap query retrying: RPC: Program not registered<br>mount.nfs: prog 100003, trying vers=3, prot=17<br>mount.nfs: portmap query failed: RPC: Program not registered<br>mount.nfs: trying text-based options &#39;vers=4.1,addr=192.168.70.151,clientaddr=192.168.70.153&#39;<br>mount.nfs: mount(2): Connection refused<br>mount.nfs: trying text-based options &#39;addr=192.168.70.151&#39;<br>mount.nfs: prog 100003, trying vers=3, prot=6<br>mount.nfs: portmap query retrying: RPC: Program not registered<br>mount.nfs: prog 100003, trying vers=3, prot=17<br>mount.nfs: portmap query failed: RPC: Program not registered<br>mount.nfs: trying text-based options &#39;vers=4.1,addr=192.168.70.151,clientaddr=192.168.70.153&#39;<br>mount.nfs: mount(2): Connection refused<br>mount.nfs: trying text-based options &#39;addr=192.168.70.151&#39;<br>mount.nfs: prog 100003, trying vers=3, prot=6<br>mount.nfs: portmap query retrying: RPC: Program not registered<br>mount.nfs: prog 100003, trying vers=3, prot=17<br>mount.nfs: portmap query failed: RPC: Program not registered<br><br></span></span></div><div><span class="gmail-gI"><span><br></span></span></div><div><span class="gmail-gI"><span><br>[root@gluster-node1 ~]# rpcinfo -p gluster-node1<br>   program vers proto   port  service<br>    100000    4   tcp    111  portmapper<br>    100000    3   tcp    111  portmapper<br>    100000    2   tcp    111  portmapper<br>    100000    4   udp    111  portmapper<br>    100000    3   udp    111  portmapper<br>    100000    2   udp    111  portmapper<br></span></span><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-18 12:35 GMT+02:00 John Hearns <span dir="ltr">&lt;<a href="mailto:hearnsj@googlemail.com" target="_blank">hearnsj@googlemail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Run   rpcinfo -p glusterfs1</div><div><br></div><div>My apology if that is already in your mail.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 18 July 2018 at 11:58, Christos Tsalidis <span dir="ltr">&lt;<a href="mailto:chtsalid@gmail.com" target="_blank">chtsalid@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi all,</div><div><br></div><div>I am encountering the following problem, my nfs tcp session cannot be established with gluster server. Here are some outputs from debugging.</div><div><br></div><div><br>[root@glusterfs1 ~]# glusterd --version<br>glusterfs 3.12.11<br>Repository revision: git://<a href="http://git.gluster.org/glusterfs.git" target="_blank">git.gluster.org/glusterf<wbr>s.git</a><br>Copyright (c) 2006-2016 Red Hat, Inc. &lt;<a href="https://www.gluster.org/" target="_blank">https://www.gluster.org/</a>&gt;<br>GlusterFS comes with ABSOLUTELY NO WARRANTY.<br>It is licensed to you under your choice of the GNU Lesser<br>General Public License, version 3 or any later version (LGPLv3<br>or later), or the GNU General Public License, version 2 (GPLv2),<br>in all cases as published by the Free Software Foundation.<br><br></div><div><br></div><div>[root@glusterfs1 ~]# gluster volume info replvol<br><br>Volume Name: replvol<br>Type: Replicate<br>Volume ID: 6d254f26-16cf-4c36-9510-0940be<wbr>946a46<br>Status: Started<br>Snapshot Count: 0<br>Number of Bricks: 1 x 2 = 2<br>Transport-type: tcp,rdma<br>Bricks:<br>Brick1: glusterfs1:/bricks/brick-a1/br<wbr>ick<br>Brick2: glusterfs2:/bricks/brick-b1/br<wbr>ick<br>Options Reconfigured:<br>nfs.disable: off<br>nfs.ports-insecure: on<br>nfs.rpc-auth-allow: <a href="http://192.168.70.0/24" target="_blank">192.168.70.0/24</a><br>performance.client-io-threads: off<br>transport.address-family: inet<br>nfs.transport-type: tcp<br></div><div><br></div><div><br></div><div><br>[root@glusterfs-workstation ~]# ip a<br>1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000<br>    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>    inet <a href="http://127.0.0.1/8" target="_blank">127.0.0.1/8</a> scope host lo<br>       valid_lft forever preferred_lft forever<br>    inet6 ::1/128 scope host<br>       valid_lft forever preferred_lft forever<br>2: ens32: &lt;BROADCAST,MULTICAST,UP,LOWER_<wbr>UP&gt; mtu 1500 qdisc pfifo_fast state UP group default qlen 1000<br>    link/ether 00:0c:29:32:35:e4 brd ff:ff:ff:ff:ff:ff<br>    inet <a href="http://192.168.70.204/24" target="_blank">192.168.70.204/24</a> brd 192.168.70.255 scope global noprefixroute ens32<br>       valid_lft forever preferred_lft forever<br>    inet6 fe80::20c:29ff:fe32:35e4/64 scope link noprefixroute<br>       valid_lft forever preferred_lft forever<br>[root@glusterfs-workstation ~]# ping glusterfs1<br>PING glusterfs1.lab.local (192.168.70.200) 56(84) bytes of data.<br>64 bytes from glusterfs1.lab.local (192.168.70.200): icmp_seq=1 ttl=64 time=0.902 ms<br>64 bytes from glusterfs1.lab.local (192.168.70.200): icmp_seq=2 ttl=64 time=0.768 ms<br>64 bytes from glusterfs1.lab.local (192.168.70.200): icmp_seq=3 ttl=64 time=0.585 ms<br>^C<br>--- glusterfs1.lab.local ping statistics ---<br>3 packets transmitted, 3 received, 0% packet loss, time 2005ms<br>rtt min/avg/max/mdev = 0.585/0.751/0.902/0.133 ms<br></div><div><br></div><div><br></div><div><br>[root@glusterfs-workstation ~]# cat /etc/fstab | grep nfs<br>glusterfs1.lab.local:/replvol /mnt/mediadata nfs defaults,_netdev 0 0<br>[root@glusterfs-workstation ~]# mount -a<br>mount.nfs: Connection refused<br></div><div><br></div><div><br></div><div>I also attached a .pcap file, where you will see that server resets the tcp session.</div><div><br></div><div>Any idea?</div><div><br></div><div>Many thanks!<br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mail<wbr>man/listinfo/gluster-users</a><br></blockquote></div><br></div>
</blockquote></div><br></div>