<div dir="ltr">Do the users have permission to see/interact with the directories, in addition to the files?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 1:55 PM, Nithya Balachandran <span dir="ltr">&lt;<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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-<wbr>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"><div><div class="h5">On 6 November 2017 at 05:13, Sam McLeod <span dir="ltr">&lt;<a href="mailto:mailinglists@smcleod.net" target="_blank">mailinglists@smcleod.net</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word;line-break:after-white-space"><div>We&#39;ve got an issue with Gluster (3.12.x) where clients can&#39;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&#39;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_i<wbr>d=0,default_permissions,allow_<wbr>other,max_read=131072)</div><div> </div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster  # ls -la</div><div>total 0</div><div> </div><div>(note no . or .. directories)</div><div> </div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster  # touch test</div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster  # ls -la</div><div>total 0</div><div>-rw-r--r--. 1 root root 0 Nov  6 10:10 test</div><div> </div><div>(&quot;test&quot; file shows up. Still no . or .. directories.)</div><div> </div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster  # mkdir testdir</div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster  # 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&#39;t show in ls)</div><div> </div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster  # cd testdir</div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster/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/m<wbr>ountedgluster/testdir  # touch test</div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster/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/m<wbr>ountedgluster/testdir  # cd ..</div><div>root@gluster-client:/var/lib/m<wbr>ountedgluster  # 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&#39;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></div></div>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><br></blockquote></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><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Laura Bailey</div><div>Senior Technical Writer</div><div>Customer Content Services BNE</div></div></div></div></div></div>
</div>