<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 16/07/15 11:52, Kaamesh Kamalaaharan
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKNdovS7kXS=+q+tDgw7Tv3e=LyCZ4oiWS0hgY-Y0Z086Hou=Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi everyone, 
        <div>Im trying to mount my volume on my VM but im encountering
          several problems</div>
        <div>1) Using nfs mount to mount my gluster volume, i am able to
          mount normally, but when i access executables stored on my
          gluster volume, the process hangs and i have to cancel it.
          Once i cancel the process, the mount point is no longer
          accessible and im unable to view any files on my mount point</div>
      </div>
    </blockquote>
    <br>
    Can u please provide following details :<br>
    <br>
    1.) can u try showmount -e &lt;server_ip&gt;  on client<br>
    <br>
    at server<br>
    <br>
    2.) gluster v  status <br>
    <br>
    3) check the pid of gluster-nfs running on the brick(if there is)<br>
    <br>
    4.) provide nfs.log and rpcinfo<br>
    <br>
    Thanks,<br>
    Jiffin<br>
    <br>
    <blockquote
cite="mid:CAKNdovS7kXS=+q+tDgw7Tv3e=LyCZ4oiWS0hgY-Y0Z086Hou=Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>2) using gluster-client (same version as server 3.6.2 ) to
          mount my gluster volume , im getting the following messages in
          the gluster log. </div>
        <div><br>
        </div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> 
              1: volume gfsvolume-client-0<br>
                2:     type protocol/client<br>
                3:     option ping-timeout 30<br>
                4:     option remote-host gfs1<br>
                5:     option remote-subvolume /export/sda/brick<br>
                6:     option transport-type socket<br>
                7:     option frame-timeout 90<br>
                8:     option send-gids true<br>
                9: end-volume<br>
               10:  <br>
               11: volume gfsvolume-client-1<br>
               12:     type protocol/client<br>
               13:     option ping-timeout 30<br>
               14:     option remote-host gfs2<br>
               15:     option remote-subvolume /export/sda/brick<br>
               16:     option transport-type socket<br>
               17:     option frame-timeout 90<br>
               18:     option send-gids true<br>
               19: end-volume<br>
               20:  <br>
               21: volume gfsvolume-replicate-0<br>
               22:     type cluster/replicate<br>
               23:     option data-self-heal-algorithm diff<br>
               24:     option quorum-type fixed<br>
               25:     option quorum-count 1<br>
               26:     subvolumes gfsvolume-client-0 gfsvolume-client-1<br>
               27: end-volume<br>
               28:  <br>
               29: volume gfsvolume-dht<br>
               30:     type cluster/distribute<br>
               31:     subvolumes gfsvolume-replicate-0<br>
               32: end-volume<br>
               33:  <br>
               34: volume gfsvolume-write-behind<br>
               35:     type performance/write-behind<br>
               36:     option cache-size 4MB<br>
               37:     subvolumes gfsvolume-dht<br>
               38: end-volume<br>
               39:  <br>
               40: volume gfsvolume-read-ahead<br>
               41:     type performance/read-ahead<br>
               42:     subvolumes gfsvolume-write-behind<br>
               43: end-volume<br>
               44:  <br>
               45: volume gfsvolume-io-cache<br>
               46:     type performance/io-cache<br>
               47:     option max-file-size 2MB<br>
               48:     option cache-timeout 60<br>
               49:     option cache-size 6442450944<br>
               50:     subvolumes gfsvolume-read-ahead<br>
               51: end-volume<br>
               52:  <br>
               53: volume gfsvolume-open-behind<br>
               54:     type performance/open-behind<br>
               55:     subvolumes gfsvolume-io-cache<br>
               56: end-volume<br>
               57:  <br>
               58: volume gfsvolume-md-cache<br>
               59:     type performance/md-cache<br>
               60:     subvolumes gfsvolume-open-behind<br>
               61: end-volume<br>
               62:  <br>
               63: volume gfsvolume<br>
              [2015-07-16 03:31:27.231127] E [MSGID: 108006]
              [afr-common.c:3591:afr_notify] 0-gfsvolume-replicate-0:
              All subvolumes are down. Going offline until atleast one
              of them comes back up.<br>
              [2015-07-16 03:31:27.232201] W [MSGID: 108001]
              [afr-common.c:3635:afr_notify] 0-gfsvolume-replicate-0:
              Client-quorum is not met<br>
               64:     type debug/io-stats<br>
               65:     option latency-measurement on<br>
               66:     option count-fop-hits on<br>
               67:     subvolumes gfsvolume-md-cache<br>
               68: end-volume<br>
               69:  <br>
               70: volume meta-autoload<br>
               71:     type meta<br>
               72:     subvolumes gfsvolume<br>
               73: end-volume<br>
               74:  <br>
+------------------------------------------------------------------------------+<br>
              [2015-07-16 03:31:27.254509] I
              [fuse-bridge.c:5080:fuse_graph_setup] 0-fuse: switched to
              graph 0<br>
              [2015-07-16 03:31:27.255262] I
              [fuse-bridge.c:4009:fuse_init] 0-glusterfs-fuse: FUSE
              inited with protocol versions: glusterfs 7.22 kernel 7.17<br>
              [2015-07-16 03:31:27.256340] I
              [afr-common.c:3722:afr_local_init]
              0-gfsvolume-replicate-0: no subvolumes up<br>
              [2015-07-16 03:31:27.256722] I
              [afr-common.c:3722:afr_local_init]
              0-gfsvolume-replicate-0: no subvolumes up<br>
              [2015-07-16 03:31:27.256840] W
              [fuse-bridge.c:779:fuse_attr_cbk] 0-glusterfs-fuse: 2:
              LOOKUP() / =&gt; -1 (Transport endpoint is not connected)<br>
              [2015-07-16 03:31:27.284927] I
              [fuse-bridge.c:4921:fuse_thread_proc] 0-fuse: unmounting
              /export<br>
              [2015-07-16 03:31:27.285919] W
              [glusterfsd.c:1194:cleanup_and_exit] (--&gt; 0-: received
              signum (15), shutting down<br>
              [2015-07-16 03:31:27.286052] I [fuse-bridge.c:5599:fini]
              0-fuse: Unmounting '/export'.</blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
        </blockquote>
        I have deployed gluster successfully on my physical machines and
        my network is fine. I used the exact same steps to install the
        gluster client on my VM and my physical machines.  Some info you
        may find helpful in narrowing down the error is as below:
        <div><br>
          <div>-My physical machines are fine and show no error messages
            in log.
            <div>-I am able to ssh into the machine so it is not a
              network problem. </div>
            <div>-there are no firewall rules on the gluster server and
              client . </div>
            <div>-I have done modprobe fuse successfully.</div>
            <div>- NFS is installed on all machines. </div>
          </div>
        </div>
        <div>- gluster versions are same on all machines</div>
        <div>- gluster volume status shows all processes are online</div>
        <div>- gluster status client does not show my client machine </div>
        <div>-server can ping to client and client can ping the server</div>
        <div>-i tried restarting rpcbind but it didnt fix my problem</div>
        <div><br>
        </div>
        <div>If there is anything else you would need to help me fix
          this , please do let me know and ill pass the info on to you .</div>
        <div><br>
        </div>
        <div>Eid Mubarak to all those who are celebrating and thank you
          in advance for your assistance.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Kaamesh</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://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>