<div dir="ltr">Hi,<br><br>This is failing for me.  I&#39;ve had the same problems after trying to build my own vfs_glusterfs from source.  I&#39;m certain I&#39;m doing something stupid.<div><br></div><div>Client is a Windows Server 2008R2 64bit machine with AD authentication.</div>
<div><br></div><div>Server is CentOS 6.4, Gluster 3.4.1GA, Samba 4.1.4 with matching samba_vfs_glusterfs as per this thread, AD authentication (sssd for the Linux/PAM/nsswitch side, and Samba is configured as a member server).  The Gluster volume is working fine (this is our production test/backup cluster, and has been in operation for over a year).</div>
<div><br>Samba works fine when pointing to a local FUSE mount (this is how we run in production today for Windows and Mac clients).  When I change to vfs_glusterfs, it all goes wrong.</div><div><br></div><div>Client errors include:</div>
<div><br></div><div>Action: On Windows regular windows explorer directory browsing</div><div>Result: All good.  Much faster than regular Samba to FUSE.</div><div><br></div><div>Action: On Windows: Right click -&gt; New -&gt;  Text Document</div>
<div>Result: &quot;Unable to create the file &quot;New Text Document.txt&quot;.  The system cannot find the file specified.</div><div><br></div><div>Action: </div><div>On a Linux box: dmesg &gt; test.txt</div><div>On Windows: double-click test.txt</div>
<div>Result: The process cannot access the file because it is in use by another process</div><div><br></div><div>Action: On Windows: drag and drop a text file to a share</div><div>Result: nothing (file not copied, no error dialog).</div>
<div><br></div><div>Samba logs:</div><div><div>[2014/02/14 10:44:52.972999,  0] ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)</div><div>  prodbackup: Initialized volume from server localhost</div><div>[2014/02/14 10:46:31.020793,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div>
<div>  glfs_stat(./..) failed: No data available</div><div>[2014/02/14 10:47:03.326100,  0] ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)</div><div>  prodbackup: Initialized volume from server localhost</div>
<div>[2014/02/14 10:47:08.449040,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div><div>  glfs_stat(./..) failed: No data available</div><div>[2014/02/14 10:48:21.007241,  0] ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)</div>
<div>  prodbackup: Initialized volume from server localhost</div><div>[2014/02/14 10:48:21.068066,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div><div>  glfs_stat(./..) failed: No data available</div><div>
[2014/02/14 10:51:36.683883,  0] ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)</div><div>  prodbackup: Initialized volume from server localhost</div><div>[2014/02/14 10:51:36.743577,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div>
<div>  glfs_stat(./..) failed: No data available</div><div>[2014/02/14 10:53:14.160588,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div><div>  glfs_stat(./..) failed: No data available</div><div>[2014/02/14 10:53:57.229060,  0] ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)</div>
<div>  prodbackup: Initialized volume from server localhost</div><div>[2014/02/14 10:53:57.288750,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div><div>  glfs_stat(./..) failed: No data available</div><div>
[2014/02/14 10:54:47.062171,  0] ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)</div><div>  prodbackup: Initialized volume from server localhost</div><div>[2014/02/14 10:54:47.121809,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div>
<div>  glfs_stat(./..) failed: No data available</div><div>[2014/02/14 10:55:16.602058,  0] ../source3/modules/vfs_glusterfs.c:292(vfs_gluster_connect)</div><div>  prodbackup: Initialized volume from server localhost</div>
<div>[2014/02/14 10:55:16.670562,  0] ../source3/modules/vfs_glusterfs.c:627(vfs_gluster_stat)</div><div>  glfs_stat(./..) failed: No data available</div></div><div><br></div><div><br></div><div>/etc/samba/smb.conf:</div>
<div><br></div><div><div>[global]</div><div>        workgroup = BLAH</div><div>        server string = Samba Server Version %v</div><div>        log file = /var/log/samba/log.%m<br></div><div>        max log size = 50<br>
</div><div>        security = ads<br></div><div>        passdb backend = tdbsam</div><div>        realm = BLAH</div><div>        domain master = no<br></div><div>        domain logons = no</div><div>        wins support = yes<br>
</div><div>        wins proxy = yes</div><div>        dns proxy = yes</div><div>        load printers = no<br></div><div>## Shares<br></div><div>[prodbackup]<br></div><div>        vfs object = glusterfs</div><div>        glusterfs:volume = prodbackup</div>
<div>        glusterfs:volfile_server = localhost</div><div>        path = /</div><div>        Comment = prodbackup</div><div>        browseable = yes</div><div>        writable = yes</div><div>        guest ok = no</div>
<div>        valid users = +prod</div><div>        create mask = 0660</div><div>        force create mode = 0660</div><div>        directory mask = 0770</div><div>        force directory mode = 0770</div><div>        hide dot files = no</div>
<div><br></div></div><div>Any pointers would be appreciated. </div><div><br></div><div>-Dan</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div>----------------<br>Dan Mons<br>Skunk Works<br>Cutting Edge<br>
<a href="http://cuttingedge.com.au" target="_blank">http://cuttingedge.com.au</a></div>
<br><br><div class="gmail_quote">On 7 February 2014 07:12, Dan Mons <span dir="ltr">&lt;<a href="mailto:dmons@cuttingedge.com.au" target="_blank">dmons@cuttingedge.com.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Fantastic work, thank you.<br>
<br>
-Dan<br>
----------------<br>
Dan Mons<br>
Skunk Works<br>
Cutting Edge<br>
<a href="http://cuttingedge.com.au" target="_blank">http://cuttingedge.com.au</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On 6 February 2014 22:50, Kaleb KEITHLEY &lt;<a href="mailto:kkeithle@redhat.com">kkeithle@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; YUM repo at <a href="http://download.gluster.org/pub/gluster/glusterfs/samba/" target="_blank">http://download.gluster.org/pub/gluster/glusterfs/samba/</a> now has<br>
&gt; el6 RPMs for RHEL6, CentOS6; along with RPMs for Fedora 18 and Fedora 19.<br>
&gt;<br>
&gt; Fedora 20 and Fedora 21 (rawhide) have Samba 4.1.3 by default.<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; Kaleb<br>
&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br></div>