<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 29, 2019 at 3:56 PM João Baúto &lt;<a href="mailto:joao.bauto@neuro.fchampalimaud.org">joao.bauto@neuro.fchampalimaud.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have an 8 brick distributed volume where Windows and Linux clients mount the volume via samba and headless compute servers using <span id="gmail-m_8466392575067370792:tg.1">gluster</span> native fuse. With parallel-<span id="gmail-m_8466392575067370792:tg.2">readdir</span> on, if a Windows client creates a new folder, the folder is indeed created but invisible to the Windows client. Accessing the same samba share in a Linux client, the folder is again visible and with normal behavior. The same folder is also visible when mounting via <span id="gmail-m_8466392575067370792:tg.3">gluster</span> native fuse.</div><div><br></div><div>The Windows client can list existing directories and rename them while, for files, everything seems to be working fine.</div><div><br></div><div><span id="gmail-m_8466392575067370792:tg.4">Gluster</span> servers: <span id="gmail-m_8466392575067370792:tg.5">CentOS</span> 7.5 with <span id="gmail-m_8466392575067370792:tg.6">Gluster</span> 5.3 and Samba 4.8.3-4.el7.0.1 from @<span id="gmail-m_8466392575067370792:tg.7">fasttrack</span></div><div>Clients tested: Windows 10, <span id="gmail-m_8466392575067370792:tg.8">Ubuntu</span> 18.10, <span id="gmail-m_8466392575067370792:tg.9">CentOS</span> 7.5</div><div><br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1670382" target="_blank">https://<span id="gmail-m_8466392575067370792:tg.10">bugzilla</span>.<span id="gmail-m_8466392575067370792:tg.11">redhat</span>.com/show_bug.<span id="gmail-m_8466392575067370792:tg.12">cgi</span>?id=1670382<br></a></div></div></div></div></blockquote><div><br></div><div>Thanks for the bug report. Will look into this, and get back.</div><div><br></div><div>Last I knew, we recommended to avoid fuse and samba shares on same volume (Mainly as we couldn&#39;t spend a lot of effort on testing the configuration). Anyways, we would treat the behavior as bug for sure. One possible path looking at below volume info is to disable &#39;stat-prefetch&#39; option and see if it helps. Next option I would try is to disable readdir-ahead.</div><div><br></div><div>Regards,</div><div>Amar</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1670382" target="_blank"></a></div><div><br></div><div>Volume Name: tank</div><div>Type: Distribute</div><div>Volume ID: 9582685f-07fa-41fd-b9fc-ebab3a6989cf</div><div>Status: Started</div><div>Snapshot Count: 0</div><div>Number of Bricks: 8</div><div>Transport-type: <span id="gmail-m_8466392575067370792:tg.13">tcp</span></div><div>Bricks:</div><div>Brick1: <span id="gmail-m_8466392575067370792:tg.14">swp</span>-<span id="gmail-m_8466392575067370792:tg.15">gluster</span>-01:/tank/volume1/brick</div><div>Brick2: <span id="gmail-m_8466392575067370792:tg.16">swp</span>-<span id="gmail-m_8466392575067370792:tg.17">gluster</span>-02:/tank/volume1/brick</div><div>Brick3: <span id="gmail-m_8466392575067370792:tg.18">swp</span>-<span id="gmail-m_8466392575067370792:tg.19">gluster</span>-03:/tank/volume1/brick</div><div>Brick4: <span id="gmail-m_8466392575067370792:tg.20">swp</span>-<span id="gmail-m_8466392575067370792:tg.21">gluster</span>-04:/tank/volume1/brick</div><div>Brick5: <span id="gmail-m_8466392575067370792:tg.22">swp</span>-<span id="gmail-m_8466392575067370792:tg.23">gluster</span>-01:/tank/volume2/brick</div><div>Brick6: <span id="gmail-m_8466392575067370792:tg.24">swp</span>-<span id="gmail-m_8466392575067370792:tg.25">gluster</span>-02:/tank/volume2/brick</div><div>Brick7: <span id="gmail-m_8466392575067370792:tg.26">swp</span>-<span id="gmail-m_8466392575067370792:tg.27">gluster</span>-03:/tank/volume2/brick</div><div>Brick8: <span id="gmail-m_8466392575067370792:tg.28">swp</span>-<span id="gmail-m_8466392575067370792:tg.29">gluster</span>-04:/tank/volume2/brick</div><div>Options Reconfigured:</div><div>performance.parallel-<span id="gmail-m_8466392575067370792:tg.30">readdir</span>: on</div><div>performance.<span id="gmail-m_8466392575067370792:tg.31">readdir</span>-ahead: on</div><div>performance.cache-invalidation: on</div><div>performance.<span id="gmail-m_8466392575067370792:tg.32">md</span>-cache-timeout: 600</div><div>storage.batch-<span id="gmail-m_8466392575067370792:tg.33">fsync</span>-delay-<span id="gmail-m_8466392575067370792:tg.34">usec</span>: 0</div><div>performance.write-behind-window-size: 32MB</div><div>performance.stat-<span id="gmail-m_8466392575067370792:tg.35">prefetch</span>: on</div><div>performance.read-ahead: on</div><div>performance.read-ahead-page-count: 16</div><div>performance.<span id="gmail-m_8466392575067370792:tg.36">rda</span>-request-size: 131072</div><div>performance.quick-read: on</div><div>performance.open-behind: on</div><div>performance.<span id="gmail-m_8466392575067370792:tg.37">nl</span>-cache-timeout: 600</div><div>performance.<span id="gmail-m_8466392575067370792:tg.38">nl</span>-cache: on</div><div>performance.<span id="gmail-m_8466392575067370792:tg.39">io</span>-thread-count: 64</div><div>performance.<span id="gmail-m_8466392575067370792:tg.40">io</span>-cache: off</div><div>performance.flush-behind: on</div><div>performance.client-<span id="gmail-m_8466392575067370792:tg.41">io</span>-threads: off</div><div>performance.write-behind: off</div><div>performance.cache-samba-<span id="gmail-m_8466392575067370792:tg.42">metadata</span>: on</div><div>network.<span id="gmail-m_8466392575067370792:tg.43">inode</span>-<span id="gmail-m_8466392575067370792:tg.44">lru</span>-limit: 0</div><div>features.cache-invalidation-timeout: 600</div><div>features.cache-invalidation: on</div><div>cluster.<span id="gmail-m_8466392575067370792:tg.45">readdir</span>-optimize: on</div><div>cluster.<span id="gmail-m_8466392575067370792:tg.46">lookup</span>-optimize: on</div><div>client.event-threads: 4</div><div>server.event-threads: 16</div><div>features.quota-deem-<span id="gmail-m_8466392575067370792:tg.47">statfs</span>: on</div><div><span id="gmail-m_8466392575067370792:tg.48">nfs</span>.disable: on</div><div>features.quota: on</div><div>features.<span id="gmail-m_8466392575067370792:tg.49">inode</span>-quota: on</div><div>cluster.enable-shared-storage: disable</div><div><br></div><div>Cheers,</div><div><br></div><div><div dir="ltr" class="gmail-m_8466392575067370792gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><span id="gmail-m_8466392575067370792:tg.50">João</span> <span id="gmail-m_8466392575067370792:tg.51">Baúto</span></div><div><div><div dir="ltr"></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></div></div></div>