<div dir="ltr">Hi,<div><br></div><div>Please provide the gluster volume info. Do you see any errors in the client mount log file (/var/log/glusterfs/var-lib-mountedgluster.log)?</div><div><br></div><div><br></div><div>Thanks,</div><div>Nithya</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 6 November 2017 at 05:13, Sam McLeod <span dir="ltr"><<a href="mailto:mailinglists@smcleod.net" target="_blank">mailinglists@smcleod.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div>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><br></div><div><br></div><div>We can see files, but not directories (with ls, find etc...)</div><div>We can enter (cd) into directories, even if we can't see them.</div><div><br></div><div>- Host typology is: 2 replica, 1 arbiter.</div><div>- Volumes are: replicated and running on XFS on the hosts.</div><div>- Clients are: GlusterFS native fuse client (mount.glusterfs), the same version and op-version as the hosts.</div><div>- Gluster server and client version: 3.12.2 (also found on 3.12.1, unsure about previous versions) running on CentOS 7.</div><div><br></div><div><br></div><div>Examples:</div><div><br></div><div><br></div><div>mount:</div><div>192.168.0.151:/gluster_vol on /var/lib/mountedgluster type fuse.glusterfs (rw,relatime,user_id=0,group_<wbr>id=0,default_permissions,<wbr>allow_other,max_read=131072)</div><div> </div><div>root@gluster-client:/var/lib/<wbr>mountedgluster # ls -la</div><div>total 0</div><div> </div><div>(note no . or .. directories)</div><div> </div><div>root@gluster-client:/var/lib/<wbr>mountedgluster # touch test</div><div>root@gluster-client:/var/lib/<wbr>mountedgluster # ls -la</div><div>total 0</div><div>-rw-r--r--. 1 root root 0 Nov 6 10:10 test</div><div> </div><div>("test" file shows up. Still no . or .. directories.)</div><div> </div><div>root@gluster-client:/var/lib/<wbr>mountedgluster # mkdir testdir</div><div>root@gluster-client:/var/lib/<wbr>mountedgluster # ls -la</div><div>total 0</div><div>-rw-r--r--. 1 root root 0 Nov 6 10:10 test</div><div> </div><div>(directory was made, but doesn't show in ls)</div><div> </div><div>root@gluster-client:/var/lib/<wbr>mountedgluster # cd testdir</div><div>root@gluster-client:/var/lib/<wbr>mountedgluster/testdir # ls -la</div><div>total 0</div><div> </div><div>(cd works, no . or .. shown in ls though)</div><div> </div><div>root@gluster-client:/var/lib/<wbr>mountedgluster/testdir # touch test</div><div>root@gluster-client:/var/lib/<wbr>mountedgluster/testdir # ls -la</div><div>total 0</div><div>-rw-r--r--. 1 root root 0 Nov 6 10:10 test</div><div> </div><div>(can create test file in testdir)</div><div> </div><div> </div><div>root@gluster-client:/var/lib/<wbr>mountedgluster/testdir # cd ..</div><div>root@gluster-client:/var/lib/<wbr>mountedgluster # ls -ld testdir</div><div>drwxr-xr-x. 2 root root 4096 Nov 6 10:10 testdir</div><div> </div><div>(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> </div><div> </div><div>
<div dir="auto" style="word-wrap:break-word;line-break:after-white-space"><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"><br>--<br>Sam McLeod <br><a href="https://twitter.com/s_mcleod" target="_blank">https://twitter.com/s_mcleod</a><br><a href="https://smcleod.net" target="_blank">https://smcleod.net</a></div></div>
</div>
<br></div><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>