<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 8 November 2017 at 02:47, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class="gmail-"><blockquote type="cite"><div>On 6 Nov 2017, at 3:32 pm, Laura Bailey <<a href="mailto:lbailey@redhat.com" target="_blank">lbailey@redhat.com</a>> wrote:</div><br class="gmail-m_5900952022060825636Apple-interchange-newline"><div><div dir="ltr">Do the users have permission to see/interact with the directories, in addition to the files?<br></div></div></blockquote><div><br></div></span><div>Yes, full access to directories and files.</div><div>Also testing using the root user.</div><span class="gmail-"><br><blockquote type="cite"><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 1:55 PM, Nithya Balachandran <span dir="ltr"><<a href="mailto:nbalacha@redhat.com" target="_blank">nbalacha@redhat.com</a>></span> wrote:<br><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">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-mo<wbr>untedgluster.log)?</div></div></blockquote></div></div></div></blockquote><div><br></div><div><br></div></span><div><div><div>root@int-gluster-01:/var/log/<wbr>glusterfs # grep 'dev_static' *.log|grep -v cmd_history</div><div><br></div><div>glusterd.log:[2017-11-05 22:37:06.934787] W [glusterd-locks.c:675:<wbr>glusterd_mgmt_v3_unlock] (-->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x22e5a) [0x7f5047169e5a] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x2cdc8) [0x7f5047173dc8] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0xe372a) [0x7f504722a72a] ) 0-management: Lock for vol dev_static not held</div><div>glusterd.log:[2017-11-05 22:37:06.934806] W [MSGID: 106118] [glusterd-handler.c:6309:__<wbr>glusterd_peer_rpc_notify] 0-management: Lock not released for dev_static</div><div>glusterd.log:[2017-11-05 22:39:49.924472] W [glusterd-locks.c:675:<wbr>glusterd_mgmt_v3_unlock] (-->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x22e5a) [0x7fde97921e5a] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x2cdc8) [0x7fde9792bdc8] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0xe372a) [0x7fde979e272a] ) 0-management: Lock for vol dev_static not held</div><div>glusterd.log:[2017-11-05 22:39:49.924494] W [MSGID: 106118] [glusterd-handler.c:6309:__<wbr>glusterd_peer_rpc_notify] 0-management: Lock not released for dev_static</div><div>glusterd.log:[2017-11-05 22:41:42.565123] W [glusterd-locks.c:675:<wbr>glusterd_mgmt_v3_unlock] (-->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x22e5a) [0x7fde97921e5a] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x2cdc8) [0x7fde9792bdc8] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0xe372a) [0x7fde979e272a] ) 0-management: Lock for vol dev_static not held</div><div>glusterd.log:[2017-11-05 22:41:42.565227] W [MSGID: 106118] [glusterd-handler.c:6309:__<wbr>glusterd_peer_rpc_notify] 0-management: Lock not released for dev_static</div><div>glusterd.log:[2017-11-05 22:42:06.931060] W [glusterd-locks.c:675:<wbr>glusterd_mgmt_v3_unlock] (-->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x22e5a) [0x7fde97921e5a] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0x2cdc8) [0x7fde9792bdc8] -->/usr/lib64/glusterfs/3.12.<wbr>2/xlator/mgmt/glusterd.so(+<wbr>0xe372a) [0x7fde979e272a] ) 0-management: Lock for vol dev_static not held</div><div>glusterd.log:[2017-11-05 22:42:06.931090] W [MSGID: 106118] [glusterd-handler.c:6309:__<wbr>glusterd_peer_rpc_notify] 0-management: Lock not released for dev_static</div></div></div><div><div class="gmail-h5"><br><blockquote type="cite"><div><div class="gmail_extra"><div class="gmail_quote"><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><br></div></div></blockquote></div></div></div></blockquote></div></div></div></div></blockquote><div><br></div><div>That is not the log for the mount. Please check /var/log/glusterfs/var-lib-mo<wbr>untedgluster.log on the system on which you are running the mount process.</div><div><br></div><div>Please provide the volume config details as well (gluster volume info) from one of the server nodes.</div><div><br></div><div><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 style="word-wrap:break-word"><div><div><div class="gmail-h5"><blockquote type="cite"><div><div class="gmail_extra"><div class="gmail_quote"><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></div><div><br></div><div>Thanks,</div><div>Nithya</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_5900952022060825636h5">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></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><div class="gmail-m_5900952022060825636h5"><div style="word-wrap:break-word"><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_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>("test" 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'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'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"><div style="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" 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><br clear="all"><br>-- <br><div class="gmail-m_5900952022060825636gmail_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>
</div></blockquote><br></div></div></div><br></div></blockquote></div><br></div></div>