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: Vijay Bellur
Subject: Re: [Gluster-devel] Cannot run VMware Virtual Machines on GlusterFS
Date: Tue, 19 Jun 2012 18:51:11 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

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



reply via email to

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