<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>&gt;df -T /gfs<br>Filesystem&nbsp;&nbsp;&nbsp; Type&nbsp;&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted on<br>fs2:/GFS<br>&nbsp;&nbsp;&nbsp; fuse.glusterfs&nbsp;&nbsp; 11368538112 2791284608 8577253504&nbsp; 25% /gfs<br></div><div><br></div><div>&gt;pwd<br>/gfs</div><div>&gt;cat file.c <br>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br>#define
 BUFSIZE 1024<br><br>int main(int argc, char *argv[])<br>{<br>&nbsp; FILE *fp;<br><br>&nbsp; fp = fopen(argv[1], "r");<br>&nbsp; if (fp == NULL)<br>&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp; printf("Couldnt open file %s\n", argv[1]);<br>&nbsp;&nbsp;&nbsp;&nbsp; exit (0);<br>&nbsp; }<br><br>&nbsp; fclose(fp);<br><br>&nbsp; return 0;<br>} <br></div><div>&gt;gcc -m32 -Wall -O2 file.c -o file</div><div>&gt;ls -hs file-0.txt <br>9.6G file-0.txt<br></div><div>&gt;./file file-0.txt <br>Couldnt open file file-0.txt<br></div><div>&gt;gcc -m64 -Wall -O2 file.c -o file<br></div><div>&gt;./file file-0.txt</div><div>&gt;<br></div><div><br></div><div><br></div><div>Then on the nfs mount...<br></div><div><br></div><div>&gt;df -T /nfs<br>Filesystem&nbsp;&nbsp;&nbsp; Type&nbsp;&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted on<br>nfs1:/nfs<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nfs&nbsp;&nbsp;
 5184863200 4845371648&nbsp; 76115680&nbsp; 99% /nfs<br></div><div>&gt;pwd</div><div>/nfs</div><div>&gt;gcc -m32 -Wall -O2 file.c -o file</div><div>&gt;ls -hs file-0.txt</div><div>9.6G file-0.txt</div><div>&gt;./file file-0.txt <br></div><div>&gt;</div><div>&gt;gcc -m64 -Wall -O2 file.c -o file<br>
</div>
<div>&gt;./file file-0.txt</div>
<div>&gt;<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>