Tomoaki,<div> What is /baz/ which is prefixed behind foo as /baz/foo in the logs, but does not show up in your ls -lR? Can you also send me ls -liR so that I can match inode numbers from the trace?</div><div><br></div><div>
Avati<br><br><div class="gmail_quote">On Tue, Jun 19, 2012 at 9:28 PM, Tomoaki Sato <span dir="ltr">&lt;<a href="mailto:tsato@valinux.co.jp" target="_blank">tsato@valinux.co.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Avati,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  I saw your log and there is nothing suspicious in it. Are you sure the log captures the event where &#39;getcwd&#39; returned a failure?<br>
</blockquote>
<br></div>
Yes, I am.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can you also return the output of &#39;ls -lR of the data set&#39; (from a dir level above) along with the getcwd and capture trace nfs logs from the full session? [and keep the trace nfs logs restricted to just these commands].<br>

</blockquote>
<br></div>
please find attached.<br>
<br>
Regards,<br>
<br>
Tomo<div class="im"><br>
<br>
(2012/06/20 13:17), Anand Avati wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Tomosaki,<br>
  I saw your log and there is nothing suspicious in it. Are you sure the log captures the event where &#39;getcwd&#39; returned a failure? Can you also return the output of &#39;ls -lR of the data set&#39; (from a dir level above) along with the getcwd and capture trace nfs logs from the full session? [and keep the trace nfs logs restricted to just these commands].<br>

<br>
Thanks!<br>
Avati<br>
<br></div><div><div class="h5">
On Tue, Jun 19, 2012 at 7:20 PM, Tomoaki Sato &lt;<a href="mailto:tsato@valinux.co.jp" target="_blank">tsato@valinux.co.jp</a> &lt;mailto:<a href="mailto:tsato@valinux.co.jp" target="_blank">tsato@valinux.co.jp</a>&gt;&gt; wrote:<br>

<br>
    Vijay,<br>
<br>
    Thank you for your attention to this matter.<br>
<br>
    I could not find strace command on the ESXi hosts.<br>
    CentOS version of strace command says &quot;strace+ ptrace(PTRACE_TRACEME, ...): Function not implemented&quot; on the ESXi host.<br>
<br>
    Please find attached log file.<br>
    This log file is smaller than the previous version and covers only the &#39;getcwd&#39; period.<br>
<br>
    Regards,<br>
<br>
    Tomo<br>
<br>
<br>
    (2012/06/20 10:51), Vijay Bellur wrote:<br>
<br>
        On 06/18/2012 11:55 PM, Tomoaki Sato wrote:<br>
<br>
            Vijay,<br>
<br>
            please find attached test program and log file.<br>
<br>
            test-code:<br>
<br>
            $ cat getcwd.c<br>
            #include &lt;stdio.h&gt;<br>
            #include &lt;unistd.h&gt;<br>
<br>
            int main(int argc, char* argv[])<br>
            {<br>
            char cwd[1024];<br>
<br>
            if ( argc != 2 ) {<br>
            printf(&quot;usage: %s dir\n&quot;, argv[0]);<br>
            _exit(1);<br>
            }<br>
<br>
            if ( chdir(argv[1]) != 0 ) {<br>
            perror(&quot;chdir&quot;);<br>
            _exit(1);<br>
            }<br>
            if ( getcwd(cwd, 1024) == NULL ) {<br>
            perror(&quot;getcwd&quot;);<br>
            _exit(1);<br>
            }<br>
            printf(&quot;%s\n&quot;, getcwd(cwd, 1024));<br>
<br>
            _exit(0);<br>
            }<br>
<br>
            operations:<br>
<br></div></div>
            ~ # ./getcwd /vmfs/volumes/1668aab4-__<u></u>a78e64bd/foo<div class="im"><br>
            getcwd: No such file or directory<br>
            ~ #<br>
<br>
<br></div>
        Thanks for providing this test program. Can you please provide the output of strace -f ./getcwd /vmfs/volumes/1668aab4-__<u></u>a78e64bd/foo and the corresponding nfs log file?<div class="im"><br>
<br>
        -Vijay<br>
<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    Gluster-devel mailing list<br></div>
    <a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a> &lt;mailto:<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.<u></u>org</a>&gt;<br>
    <a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/<u></u>mailman/listinfo/gluster-devel</a><br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>