Re: Cannot run VMware Virtual Machines on GlusterFS

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

 



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



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux