<div dir="ltr">Hi all<div><br></div><div>We&#39;ve got a brand new 6-node GlusterFS 3.10 deployment (previous 20 nodes were GlusterFS 3.6). Running on CentOS 7 using legit repos, so glusterfs-3.10.7-1.el7.x86_64 is the base.</div><div><br></div><div>Our issue is that when we create a file with a Gluster client, e.g. a Mac or Windows machine, it works fine. However if we copy a file from a Mac or Windows machine to the Samba share, it fails with a complaint that the file already exists, even though it doesn&#39;t (or didn&#39;t). It appears as though the file is tested to see if it exists, and it doesn&#39;t, so then the client goes and tries to create the file but at that stage it DOES exist, maybe something to do with the previous stat? Anyway, it is repeatable and killing us! NFS clients work fine on any platform, but SMB does not. There aren&#39;t that many client-side options for SMB mounts so the solution has to be server-side.</div><div><br></div><div>Here is a pcap of the copy attempt from one computer:</div><div><br></div><div><a href="https://www.dropbox.com/s/yhn3s1qbxtdvnoh/sambacap.pcapng?dl=0">https://www.dropbox.com/s/yhn3s1qbxtdvnoh/sambacap.pcapng?dl=0</a><br></div><div><br></div><div>You&#39;ll see a the request to look for the file which results in a STATUS_OBJECT_NAME_NOT_FOUND (good), followed by a STATUS_SHARING_VIOLATION (???) followed by a STATUS_OBJECT_NAME_COLLISION (bad).</div><div><br></div><div>Here are the options from the volume:</div><div><br></div><div>







<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Options Reconfigured:</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">nfs.acl: off</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">features.cache-invalidation: on</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">storage.batch-fsync-delay-usec: 0</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">transport.address-family: inet6</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">nfs.disable: on</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">performance.stat-prefetch: off</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">server.allow-insecure: on</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ganesha.enable: ganesha-nfs</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:&quot;Andale Mono&quot;;color:rgb(40,254,20);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">user.smb: enable</span></p></div><div><br></div><div>Any thoughts on why samba isn&#39;t enjoying our copies?</div><div><br></div><div>Thanks!</div><div><br></div><div>Brett.</div></div>