Tomosaki,<div> 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].</div>
<div><br></div><div>Thanks!</div><div>Avati<br><br><div class="gmail_quote">On Tue, Jun 19, 2012 at 7:20 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">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<div class="HOEnZb"><div class="h5"><br>
<br>
(2012/06/20 10:51), Vijay Bellur wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 06/18/2012 11:55 PM, Tomoaki Sato wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>
~ # ./getcwd /vmfs/volumes/1668aab4-<u></u>a78e64bd/foo<br>
getcwd: No such file or directory<br>
~ #<br>
<br>
</blockquote>
<br>
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?<br>
<br>
-Vijay<br>
</blockquote>
<br>
</div></div><br>_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
<br></blockquote></div><br></div>