<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 10:35 PM, Volnei Puttini <span dir="ltr">&lt;<a href="mailto:volnei@vcplinux.com.br" target="_blank">volnei@vcplinux.com.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi Alessandro,<br>
    <br>
    My system:<br>
    <br>
    CentOS 7<br>
    <br>
    samba-vfs-glusterfs-4.1.1-37.el7_0.x86_64<br></div></blockquote><div>This is the rpm that ships glusterfs.so which Samba searched for and did not find.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">
    samba-winbind-4.1.1-37.el7_0.x86_64<br>
    samba-libs-4.1.1-37.el7_0.x86_64<br>
    samba-common-4.1.1-37.el7_0.x86_64<br>
    samba-winbind-modules-4.1.1-37.el7_0.x86_64<br>
    samba-winbind-clients-4.1.1-37.el7_0.x86_64<br>
    samba-4.1.1-37.el7_0.x86_64<br>
    samba-client-4.1.1-37.el7_0.x86_64<br>
    <br>
    glusterfs 3.6.2 built on Jan 22 2015 12:59:57<br>
    <br>
    Try this, work fine for me:<br>
    <br>
    [GFSVOL]<br>
        browseable = No<br>
        comment = Gluster share of volume gfsvol<br>
        path = /<br>
        read only = No<br>
        guest ok = Yes<br>
        kernel share modes = No<br>
        posix locking = No<br>
        vfs objects = glusterfs<br>
        glusterfs:loglevel = 7<br>
        glusterfs:logfile = /var/log/samba/glusterfs-gfstest.log<br>
        glusterfs:volume = vgtest<br>
        glusterfs:volfile_server = 192.168.2.21<div><div class="h5"><br>
    <br>
    <br>
    <div>On 09-02-2015 14:45, RASTELLI
      Alessandro wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      
      
      
      <div>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">Hi,<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">I’ve created and started a new replica volume
            “downloadstat” with CIFS export enabled on GlusterFS 3.6.2.<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">I can see the following piece has been added
            automatically to smb.conf:<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">[gluster-downloadstat]<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">comment =
            For samba share of volume downloadstat<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">vfs
            objects = glusterfs<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">glusterfs:volume
            = downloadstat<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">glusterfs:logfile
            = /var/log/samba/glusterfs-downloadstat.%M.log<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">glusterfs:loglevel
            = 7<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">path = /<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">read only
            = no<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">guest ok
            = yes<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">I restarted smb service, without errors.<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">When I try to access from Win7 client to
            “\\gluster01-mi\gluster-downloadstat” it asks me a login
            (which user do I need to put?) and then gives me error “The
            network path was not found”</span></p></div></div></div></blockquote></div></blockquote><div>The user you use to login depends on your Samba setup, if it is in AD environment , you would use one of the AD users. If it is not, then you will have to use a user added to Samba on the server</div><div>using smbpasswd -a &lt;user&gt;. Also, make sure that the same user exists on the node(s) and has rights on the bricks.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><div><div class="h5"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">and on Gluster smb.log I see:<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">[2015/02/09
            17:21:13.111639,  0] smbd/vfs.c:173(vfs_init_custom)<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">  error
            probing vfs module &#39;glusterfs&#39;: NT_STATUS_UNSUCCESSFUL<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">[2015/02/09
            17:21:13.111709,  0] smbd/vfs.c:315(smbd_vfs_init)<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US"> 
            smbd_vfs_init: vfs_init_custom failed for glusterfs<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">[2015/02/09
            17:21:13.111741,  0]
            smbd/service.c:902(make_connection_snum)<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US"> 
            vfs_init failed for service gluster-downloadstat<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">Can you explain how to fix?<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">Thanks<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">Alessandro<u></u><u></u></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u> <u></u></span></p>
        <div>
          <div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <a href="mailto:gluster-users-bounces@gluster.org" target="_blank">gluster-users-bounces@gluster.org</a>
                [<a href="mailto:gluster-users-bounces@gluster.org" target="_blank">mailto:gluster-users-bounces@gluster.org</a>]
                <b>On Behalf Of </b>David F. Robinson<br>
                <b>Sent:</b> domenica 8 febbraio 2015 18:19<br>
                <b>To:</b> Gluster Devel; <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
                <b>Subject:</b> [Gluster-users] cannot delete non-empty
                directory<u></u><u></u></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">I am seeing these messsages after I delete
              large amounts of data using gluster 3.6.2.<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">cannot delete non-empty directory:
              old_shelf4/Aegis/!!!Programs/RavenCFD/Storage/Jimmy_Old/src_vj1.5_final<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><strong><u><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">From the FUSE mount (as root), the
                  directory shows up as empty:</span></u></strong><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"># pwd<br>
/backup/homegfs/backup.0/old_shelf4/Aegis/!!!Programs/RavenCFD/Storage/Jimmy_Old/src_vj1.5_final<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><br>
              # ls -al<br>
              total 5<br>
              d--------- 2 root root    4106 Feb  6 13:55 .<br>
              drwxrws--- 3  601 dmiller   72 Feb  6 13:55 ..<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">However, when you look at the bricks, the
              files are still there (none on brick01bkp, all files are
              on brick02bkp).  All of the files are 0-length and have
              ------T permissions.<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">Any suggestions on how to fix this and how to
              prevent it from happening?<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">#  ls -al
/data/brick*/homegfs_bkp/backup.0/old_shelf4/Aegis/\!\!\!Programs/RavenCFD/Storage/Jimmy_Old/src_vj1.5_final<br>
/data/brick01bkp/homegfs_bkp/backup.0/old_shelf4/Aegis/!!!Programs/RavenCFD/Storage/Jimmy_Old/src_vj1.5_final:<br>
              total 4<br>
              d---------+ 2 root root  10 Feb  6 13:55 .<br>
              drwxrws---+ 3  601 raven 36 Feb  6 13:55 ..<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">/data/brick02bkp/homegfs_bkp/backup.0/old_shelf4/Aegis/!!!Programs/RavenCFD/Storage/Jimmy_Old/src_vj1.5_final:<br>
              total 8<br>
              d---------+ 3 root root  4096 Dec 31  1969 .<br>
              drwxrws---+ 3  601 raven   36 Feb  6 13:55 ..<br>
              ---------T  5  601 raven    0 Nov 20 00:08 read_inset.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 readbc.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 readcn.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 readinp.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08
              readinp_v1_2.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08
              readinp_v1_3.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 rotatept.f.gz<br>
              d---------+ 2 root root   118 Feb  6 13:54 save1<br>
              ---------T  5  601 raven    0 Nov 20 00:08 sepvec.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 shadow.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 snksrc.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 source.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 step.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 stoprog.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 summer6.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 totforc.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 tritet.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 wallrsd.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08 wheat.f.gz<br>
              ---------T  5  601 raven    0 Nov 20 00:08
              write_inset.f.gz<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">This is using gluster 3.6.2 on a distributed
              gluster volume that resides on a single machine.  Both of
              the bricks are on one machine consisting of 2x RAID-6
              arrays.<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">df -h | grep brick<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">/dev/mapper/vg01-lvol1                      
              88T   22T   66T  25% /data/brick01bkp<br>
              /dev/mapper/vg02-lvol1                       88T   22T  
              66T  26% /data/brick02bkp<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"># gluster volume info homegfs_bkp<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">Volume Name: homegfs_bkp<br>
              Type: Distribute<br>
              Volume ID: 96de8872-d957-4205-bf5a-076e3f35b294<br>
              Status: Started<br>
              Number of Bricks: 2<br>
              Transport-type: tcp<br>
              Bricks:<br>
              Brick1:
              gfsib01bkp.corvidtec.com:/data/brick01bkp/homegfs_bkp<br>
              Brick2:
              gfsib01bkp.corvidtec.com:/data/brick02bkp/homegfs_bkp<br>
              Options Reconfigured:<br>
              storage.owner-gid: 100<br>
              performance.io-thread-count: 32<br>
              server.allow-insecure: on<br>
              network.ping-timeout: 10<br>
              performance.cache-size: 128MB<br>
              performance.write-behind-window-size: 128MB<br>
              server.manage-gids: on<br>
              changelog.rollover-time: 15<br>
              changelog.fsync-interval: 3<u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
        </div>
        <div>
          <div>
            <div>
              <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"> <u></u><u></u></span></p>
            </div>
            <div>
              <div>
                <div>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">===============================
                      <u></u><u></u></span></p>
                </div>
                <div>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">David F. Robinson, Ph.D.
                      <u></u><u></u></span></p>
                </div>
                <div>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">President - Corvid Technologies
                      <u></u><u></u></span></p>
                </div>
                <div>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">704.799.6944 x101 [office]
                      <u></u><u></u></span></p>
                </div>
                <div>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">704.252.1310 [cell]
                      <u></u><u></u></span></p>
                </div>
                <div>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">704.799.7974 [fax]
                      <u></u><u></u></span></p>
                </div>
                <div>
                  <p class="MsoNormal"><a href="mailto:David.Robinson@corvidtec.com" target="_blank"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US">David.Robinson@corvidtec.com</span></a><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u><u></u></span></p>
                </div>
                <div>
                  <p class="MsoNormal"><a href="http://www.corvidtechnologies.com" target="_blank"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">http://www.corvidtechnologies.com</span></a><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u><u></u></span></p>
                </div>
              </div>
            </div>
            <div>
              <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
            </div>
          </div>
        </div>
        <div>
          <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <u></u><u></u></span></p>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font color="#666666"><b>Raghavendra Talur </b></font><div><br></div></div></div>
</div></div>