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

Vijay Bellur vbellur at redhat.com
Wed Jun 20 01:51:11 UTC 2012


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




More information about the Gluster-devel mailing list