<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,</div><div><br></div><div>I'm testing out gluster 3.2.4 with 2 bricks and a few clients using the gluster client. The clients are FC14 and the bricks are running CentOs 6.</div><div>The problem I'm seeing is that when I have/use 32 bit compiled binaries that have to open large files, they cant do it on gluster, but they can do it on NFS. <br></div><div>I'm wondering why this is....</div><div><br></div><div>A example.</div><div><br></div><div>>df -T /gfs<br>Filesystem Type 1K-blocks Used Available Use% Mounted on<br>fs2:/GFS<br> fuse.glusterfs 11368538112 2791284608 8577253504 25% /gfs<br></div><div><br></div><div>>pwd<br>/gfs</div><div>>cat file.c <br>#include <stdio.h><br>#include <stdlib.h><br><br>#define
BUFSIZE 1024<br><br>int main(int argc, char *argv[])<br>{<br> FILE *fp;<br><br> fp = fopen(argv[1], "r");<br> if (fp == NULL)<br> {<br> printf("Couldnt open file %s\n", argv[1]);<br> exit (0);<br> }<br><br> fclose(fp);<br><br> return 0;<br>} <br></div><div>>gcc -m32 -Wall -O2 file.c -o file</div><div>>ls -hs file-0.txt <br>9.6G file-0.txt<br></div><div>>./file file-0.txt <br>Couldnt open file file-0.txt<br></div><div>>gcc -m64 -Wall -O2 file.c -o file<br></div><div>>./file file-0.txt</div><div>><br></div><div><br></div><div><br></div><div>Then on the nfs mount...<br></div><div><br></div><div>>df -T /nfs<br>Filesystem Type 1K-blocks Used Available Use% Mounted on<br>nfs1:/nfs<br> nfs
5184863200 4845371648 76115680 99% /nfs<br></div><div>>pwd</div><div>/nfs</div><div>>gcc -m32 -Wall -O2 file.c -o file</div><div>>ls -hs file-0.txt</div><div>9.6G file-0.txt</div><div>>./file file-0.txt <br></div><div>></div><div>>gcc -m64 -Wall -O2 file.c -o file<br>
</div>
<div>>./file file-0.txt</div>
<div>><br>
</div>
<div> </div><div><br></div><div>I'm wondering why the 32 bit binary has no trouble on a standard nfs mount but it does have trouble on the gluster mount with the gluster client.<br></div><div><br></div><div>Thanks,</div><div>Brian<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div></div></div></body></html>