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?
Avati
On Tue, Jun 19, 2012 at 9:28 PM, Tomoaki Sato <tsato@xxxxxxxxxxxxx> wrote:
Avati,Yes, I am.
I saw your log and there is nothing suspicious in it. Are you sure the log captures the event where 'getcwd' returned a failure?
please find attached.
Can you also return the output of 'ls -lR of the data set' (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].
Regards,
Tomo
(2012/06/20 13:17), Anand Avati wrote:
Tomosaki,
I saw your log and there is nothing suspicious in it. Are you sure the log captures the event where 'getcwd' returned a failure? Can you also return the output of 'ls -lR of the data set' (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].
Thanks!
Avati
~ # ./getcwd /vmfs/volumes/1668aab4-__a78e64bd/fooOn Tue, Jun 19, 2012 at 7:20 PM, Tomoaki Sato <tsato@xxxxxxxxxxxxx <mailto:tsato@xxxxxxxxxxxxx>> wrote:
Vijay,
Thank you for your attention to this matter.
I could not find strace command on the ESXi hosts.
CentOS version of strace command says "strace+ ptrace(PTRACE_TRACEME, ...): Function not implemented" on the ESXi host.
Please find attached log file.
This log file is smaller than the previous version and covers only the 'getcwd' period.
Regards,
Tomo
(2012/06/20 10:51), Vijay Bellur wrote:
On 06/18/2012 11:55 PM, Tomoaki Sato wrote:
Vijay,
please find attached test program and log file.
test-code:
$ cat getcwd.c
#include <stdio.h>
#include <unistd.h>
int main(int argc, char* argv[])
{
char cwd[1024];
if ( argc != 2 ) {
printf("usage: %s dir\n", argv[0]);
_exit(1);
}
if ( chdir(argv[1]) != 0 ) {
perror("chdir");
_exit(1);
}
if ( getcwd(cwd, 1024) == NULL ) {
perror("getcwd");
_exit(1);
}
printf("%s\n", getcwd(cwd, 1024));
_exit(0);
}
operations:
Thanks for providing this test program. Can you please provide the output of strace -f ./getcwd /vmfs/volumes/1668aab4-__a78e64bd/foo and the corresponding nfs log file?
getcwd: No such file or directory
~ #
Gluster-devel@xxxxxxxxxx <mailto:Gluster-devel@nongnu.org>
-Vijay
_______________________________________________
Gluster-devel mailing list
https://lists.nongnu.org/mailman/listinfo/gluster-devel