Fuse mount option: enable-ino32

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

 



All,

Just compiled and installed the Sept 15 git which includes the fuse mount option enable-ino32 patch.

Then on the server:
gluster volume fred set enable-ino32 on
Note: volume info prints out nfs.enable-ino32: on, which I guess is ok???

On client:
mount -t glusterfs -o enable-ino32 1.2.3.4:/fred mntfs

Mounts, but still returns wrong entries, using the test program below.  This program works fine with using nfs mount, and with nfs.enable-ino32 on server.  However for other reasons must use native client. 

Do I need to do something else??

Steve



#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>

int main()
{
  DIR* hDir = opendir(".");
  if (hDir==NULL)
    return 1;

  struct dirent dirEntry;
  struct dirent * pOut;
  int err = readdir_r(hDir, &dirEntry, &pOut);
  while(err==0 && pOut!=NULL)
  {
    printf("%s ", dirEntry.d_name);
    err = readdir_r(hDir, &dirEntry, &pOut);
  }

  printf("\nLast Error: %d\n", err);

  return 0;
}





[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