<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">We've got an issue with Gluster (3.12.x) where clients can't see directories that exist or are created within a mounted volume.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">We can see files, but not directories (with ls, find etc...)</div><div class="">We can enter (cd) into directories, even if we can't see them.</div><div class=""><br class=""></div><div class="">- Host typology is: 2 replica, 1 arbiter.</div><div class="">- Volumes are: replicated and running on XFS on the hosts.</div><div class="">- Clients are: GlusterFS native fuse client (mount.glusterfs), the same version and op-version as the hosts.</div><div class="">- Gluster server and client version: 3.12.2 (also found on 3.12.1, unsure about previous versions) running on CentOS 7.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Examples:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">mount:</div><div class="">192.168.0.151:/gluster_vol on /var/lib/mountedgluster type fuse.glusterfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other,max_read=131072)</div><div class="">&nbsp;</div><div class="">root@gluster-client:/var/lib/mountedgluster &nbsp;# ls -la</div><div class="">total 0</div><div class="">&nbsp;</div><div class="">(note no . or .. directories)</div><div class="">&nbsp;</div><div class="">root@gluster-client:/var/lib/mountedgluster &nbsp;# touch test</div><div class="">root@gluster-client:/var/lib/mountedgluster &nbsp;# ls -la</div><div class="">total 0</div><div class="">-rw-r--r--. 1 root root 0 Nov &nbsp;6 10:10 test</div><div class="">&nbsp;</div><div class="">("test" file shows up. Still no . or .. directories.)</div><div class="">&nbsp;</div><div class="">root@gluster-client:/var/lib/mountedgluster &nbsp;# mkdir testdir</div><div class="">root@gluster-client:/var/lib/mountedgluster &nbsp;# ls -la</div><div class="">total 0</div><div class="">-rw-r--r--. 1 root root 0 Nov &nbsp;6 10:10 test</div><div class="">&nbsp;</div><div class="">(directory was made, but doesn't show in ls)</div><div class="">&nbsp;</div><div class="">root@gluster-client:/var/lib/mountedgluster &nbsp;# cd testdir</div><div class="">root@gluster-client:/var/lib/mountedgluster/testdir &nbsp;# ls -la</div><div class="">total 0</div><div class="">&nbsp;</div><div class="">(cd works, no . or .. shown in ls though)</div><div class="">&nbsp;</div><div class="">root@gluster-client:/var/lib/mountedgluster/testdir &nbsp;# touch test</div><div class="">root@gluster-client:/var/lib/mountedgluster/testdir &nbsp;# ls -la</div><div class="">total 0</div><div class="">-rw-r--r--. 1 root root 0 Nov &nbsp;6 10:10 test</div><div class="">&nbsp;</div><div class="">(can create test file in testdir)</div><div class="">&nbsp;</div><div class="">&nbsp;</div><div class="">root@gluster-client:/var/lib/mountedgluster/testdir &nbsp;# cd ..</div><div class="">root@gluster-client:/var/lib/mountedgluster &nbsp;# ls -ld testdir</div><div class="">drwxr-xr-x. 2 root root 4096 Nov &nbsp;6 10:10 testdir</div><div class="">&nbsp;</div><div class="">(going back to parent directory, although ls -la doesn't show the directory, if I specify the name to ls -ld it does show)</div><div class="">&nbsp;</div><div class="">&nbsp;</div><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class="">--<br class="">Sam McLeod&nbsp;<br class=""><a href="https://twitter.com/s_mcleod" class="">https://twitter.com/s_mcleod</a><br class="">https://smcleod.net</div></div>

</div>

<br class=""></body></html>