[Gluster-devel] Fuse mount option: enable-ino32
Steve Bakke
sbakke at netzyn.com
Sat Sep 15 21:15:00 UTC 2012
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;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120915/022f8b8f/attachment-0004.html>
More information about the Gluster-devel
mailing list