gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Cannot run VMware Virtual Machines on GlusterFS


From: Anand Avati
Subject: Re: [Gluster-devel] Cannot run VMware Virtual Machines on GlusterFS
Date: Tue, 19 Jun 2012 21:17:47 -0700

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

On Tue, Jun 19, 2012 at 7:20 PM, Tomoaki Sato <address@hidden> 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:

~ # ./getcwd /vmfs/volumes/1668aab4-a78e64bd/foo
getcwd: No such file or directory
~ #


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?

-Vijay


_______________________________________________
Gluster-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gluster-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]