<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Do you have any firewall rules enabled? I'd start by disabling
    iptables (or at least setting everything to ACCEPT) and as someone
    else suggested setting selinux to permissive/disabled.<br>
    <br>
    Why are your nodes and client using different versions of Gluster?
    Why not just use the 3.2.6 version for everything? Also, I'm not
    sure where port 6996 comes from - Gluster uses 24007 for it's core
    communications and ports above that for individual bricks.<br>
    <br>
    David<br>
    <br>
    On 5/5/12 12:27 AM, Eric wrote:
    <blockquote
      cite="mid:1336192024.81717.YahooMailNeo@web121703.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:Courier
        New, courier, monaco, monospace, sans-serif;font-size:12pt">
        <div>Hi, All:<br>
          <br>
          I've built a Gluster-based storage cluster on a pair of CentOS
          5.7 (i386) VM's. The nodes are using Gluster 3.2.6 (from
          source) and the host is using Gluster 3.0.0 (from the Mageia
          package repositories):</div>
        <div><br>
        </div>
        <div style="margin-left: 40px;"><code>[eric@node1 ~]$ sudo
            /usr/local/sbin/gluster --version<br>
            glusterfs 3.2.6 built on May&nbsp; 3 2012 15:53:02<br>
            <br>
          </code><code>[eric@localhost ~]$ rpm -qa | grep glusterfs</code><br>
          <code>glusterfs-common-3.0.0-2.mga1</code><br>
          <code>glusterfs-client-3.0.0-2.mga1</code><br>
          <code>glusterfs-server-3.0.0-2.mga1</code><br>
          <code>libglusterfs0-3.0.0-2.mga1</code></div>
        <div><br>
        </div>
        <div>
        </div>
        <div>None of the systems (i.e., neither the two storage nodes
          nor the client) can connect to Port 6996 of the cluster (<span
            style="font-style: italic">node1.example.com &amp;
            node2.example.com</span>) but the two storage nodes can
          mount the shared volume using the Gluster helper and/or NFS:</div>
        <div><br>
        </div>
        <div style="margin-left: 40px;"><code>[eric@node1 ~]$ sudo
            /sbin/lsmod | grep fuse<br>
            <br>
            [eric@node1 ~]$ sudo /sbin/modprobe fuse<br>
            <br>
            [eric@node1 ~]$ sudo /sbin/lsmod | grep fuse<br>
            fuse&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;49237&nbsp; 0 <br>
            <br>
            [eric@node1 ~]$ sudo mount -t glusterfs node1:/mirror-1 /mnt<br>
            <br>
            [eric@node1 ~]$ sudo grep gluster /etc/mtab <br>
            glusterfs#node1:/mirror-1 /mnt fuse
            rw,allow_other,default_permissions,max_read=131072 0 0</code></div>
        <div><br>
        </div>
        <div> ...but the host system is only able to connect using NFS:</div>
        <div><br>
        </div>
        <div style="margin-left: 40px;"><code>[eric@localhost ~]$ sudo
            glusterfs --debug -f /tmp/glusterfs.vol /mnt<br>
            [2012-05-04 19:09:09] D [glusterfsd.c:424:_get_specfp]
            glusterfs: loading volume file /tmp/glusterfs.vol<br>
================================================================================<br>
            Version&nbsp; &nbsp; &nbsp; : glusterfs 3.0.0 built on Apr 10 2011 19:12:54<br>
            git: 2.0.1-886-g8379edd<br>
            Starting Time: 2012-05-04 19:09:09<br>
            Command line : glusterfs --debug -f /tmp/glusterfs.vol /mnt
            <br>
            PID&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 30159<br>
            System name&nbsp; : Linux<br>
            Nodename&nbsp; &nbsp; &nbsp;: localhost.localdomain<br>
            Kernel Release : 2.6.38.8-desktop586-10.mga<br>
            Hardware Identifier: i686<br>
            <br>
            Given volfile:<br>
+------------------------------------------------------------------------------+<br>
            &nbsp; 1: volume mirror-1<br>
            &nbsp; 2:&nbsp; type protocol/client<br>
            &nbsp; 3:&nbsp; option transport-type tcp<br>
            &nbsp; 4:&nbsp; option remote-host node1.example.com<br>
            &nbsp; 5:&nbsp; option remote-subvolume mirror-1<br>
            &nbsp; 6: end-volume<br>
+------------------------------------------------------------------------------+<br>
            [2012-05-04 19:09:09] D [glusterfsd.c:1335:main] glusterfs:
            running in pid 30159<br>
            [2012-05-04 19:09:09] D [client-protocol.c:6581:init]
            mirror-1: defaulting frame-timeout to 30mins<br>
            [2012-05-04 19:09:09] D [client-protocol.c:6592:init]
            mirror-1: defaulting ping-timeout to 42<br>
            [2012-05-04 19:09:09] D [transport.c:145:transport_load]
            transport: attempt to load file
            /usr/lib/glusterfs/3.0.0/transport/socket.so<br>
            [2012-05-04 19:09:09] D [transport.c:145:transport_load]
            transport: attempt to load file
            /usr/lib/glusterfs/3.0.0/transport/socket.so<br>
            [2012-05-04 19:09:09] D [client-protocol.c:7005:notify]
            mirror-1: got GF_EVENT_PARENT_UP, attempting connect on
            transport<br>
            [2012-05-04 19:09:09] D [client-protocol.c:7005:notify]
            mirror-1: got GF_EVENT_PARENT_UP, attempting connect on
            transport<br>
            [2012-05-04 19:09:09] D [client-protocol.c:7005:notify]
            mirror-1: got GF_EVENT_PARENT_UP, attempting connect on
            transport<br>
            [2012-05-04 19:09:09] D [client-protocol.c:7005:notify]
            mirror-1: got GF_EVENT_PARENT_UP, attempting connect on
            transport<br>
            [2012-05-04 19:09:09] N [glusterfsd.c:1361:main] glusterfs:
            Successfully started<br>
            [2012-05-04 19:09:09] E [socket.c:760:socket_connect_finish]
            mirror-1: connection to&nbsp; failed (Connection refused)<br>
            [2012-05-04 19:09:09] D
            [fuse-bridge.c:3079:fuse_thread_proc] fuse:&nbsp;
            pthread_cond_timedout returned non zero value ret: 0 errno:
            0<br>
            [2012-05-04 19:09:09] N [fuse-bridge.c:2931:fuse_init]
            glusterfs-fuse: FUSE inited with protocol versions:
            glusterfs 7.13 kernel 7.16<br>
            [2012-05-04 19:09:09] E [socket.c:760:socket_connect_finish]
            mirror-1: connection to&nbsp; failed (Connection refused)</code></div>
        <div><br>
        </div>
        <div>I've read through the Troubleshooting section of the <a
            moz-do-not-send="true"
href="http://download.gluster.com/pub/gluster/glusterfs/3.2/Documentation/AG/html/chap-Administration_Guide-Troubleshooting.html">Gluster
            Administration Guide</a> and the <a moz-do-not-send="true"
href="http://www.gluster.org/community/documentation/index.php/User_Guide#Troubleshooting">Gluster
            User Guide </a>but can't seem to resolve the problem. (See
          my post on <a moz-do-not-send="true"
href="https://forums.mageia.org/en/viewtopic.php?f=7&amp;amp;t=2358&amp;amp;p=17517">the
            Mageia Forum</a> for all the troubleshooting details:
          <a class="moz-txt-link-freetext" href="https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517">https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517</a>)
        </div>
        <div><br>
        </div>
        <div>What might be causing this?<br>
        </div>
        <br>
        TIA,<br>
        Eric Pretorious<br>
        Truckee, CA<br>
        <br>
        <div><a class="moz-txt-link-freetext" href="https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517">https://forums.mageia.org/en/viewtopic.php?f=7&amp;t=2358&amp;p=17517</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
  </body>
</html>