<div dir="ltr">Jonathan, <br>&nbsp;That is a perfect bug report. As soon as we get a chance this will be fixed, seems more like a issue with BSD fuse as of now, will debug more on this.<br><br>Regards,<br>Amar<br><br><div class="gmail_quote">
2008/10/3 Jonathan Bond-Caron <span dir="ltr">&lt;<a href="mailto:jbondc@openmv.com">jbondc@openmv.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span lang="EN-CA">Hi everyone,</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">Just began testing gluster (glusterfs-1.4.0pre5.tar.gz)
and it just looks great! Here are some notes so far on FreeBSD, &nbsp;</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">Freebsd 7: Both client and server were
installed successfully:</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA"># Install Fuse</span></p>

<p><span lang="EN-CA">cd /usr/ports/sysutils/fusefs-kmod</span></p>

<p><span lang="EN-CA">make install clean</span></p>

<p><span lang="EN-CA">echo
"fusefs_enable="YES"&quot;&gt;&gt;/etc/rc.conf</span></p>

<p><span lang="EN-CA">sh /usr/local/etc/rc.d/fusefs start</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA"># Install glusterfs</span></p>

<p><span lang="EN-CA">cd /tmp</span></p>

<p><span lang="EN-CA">wget <a href="http://ftp.zresearch.com/pub/gluster/glusterfs/1.4-pre/glusterfs-1.4.0pre5.tar.gz" target="_blank">http://ftp.zresearch.com/pub/gluster/glusterfs/1.4-pre/glusterfs-1.4.0pre5.tar.gz</a></span></p>


<p><span lang="EN-CA">cd glusterfs-1.4.0pre5</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">export LDFLAGS=&quot;-L/usr/local/lib
-liconv&quot;</span></p>

<p><span lang="EN-CA">export CFLAGS=&quot;-O0 -g -DDEBUG
-I/usr/local/include/&quot;</span></p>

<p><span lang="EN-CA">./configure -enable-fuse-client</span></p>

<p><span lang="EN-CA">make install clean</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">ISSUE #1 (Freebsd 7 client) - cannot use
fstab to mount the fuse partition:</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">glusterfs -f /usr/local/etc/glusterfs/client.vol
/usr/local/www/mantis/files&nbsp; </span><span style="font-family: Wingdings;" lang="EN-CA">ß</span><span lang="EN-CA"> works</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">FSTAB: &nbsp;&nbsp;/usr/local/etc/glusterfs/client.vol&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr/local/www/mantis/files &nbsp;&nbsp;&nbsp;&nbsp;glusterfs &nbsp;&nbsp;&nbsp;rw&nbsp; &nbsp;&nbsp;0&nbsp;&nbsp; &nbsp;&nbsp;0</span></p>

<p><span lang="EN-CA">mount: /usr/local/etc/glusterfs/client.vol
: Operation not supported by device </span><span style="font-family: Wingdings;" lang="EN-CA">ß</span><span lang="EN-CA"> the error</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">ISSUE #2 (Freebsd 6.2 client) – Client
segfault</span></p>

<p><span lang="EN-CA">[root@martini] $ glusterfs --no-daemon
--log-file=/dev/stdout --log-level=DEBUG -f /usr/local/etc/glusterfs/client.vol
/usr/local/www/mantis/files</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[glusterfs.c:271:_get_specfp] glusterfs: loading volume specfile
/usr/local/etc/glusterfs/client.vol</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : glusterfs 1.4.0pre5 built on
Oct&nbsp; 2 2008 21:47:51</span></p>

<p><span lang="EN-CA">TLA Revision :
glusterfs--mainline--3.0--patch-359</span></p>

<p><span lang="EN-CA">Starting Time: 2008-10-03 16:33:40</span></p>

<p><span lang="EN-CA">Command line : glusterfs --no-daemon
--log-file=/dev/stdout --log-level=DEBUG -f /usr/local/etc/glusterfs/client.vol
/usr/local/www/mantis/files </span></p>

<p><span lang="EN-CA">given volume specfile</span></p>

<p><span lang="EN-CA">+-----</span></p>

<p><span lang="EN-CA">&nbsp; 1:
##############################################</span></p>

<p><span lang="EN-CA">&nbsp; 2: ###&nbsp; GlusterFS Client Volume
Specification&nbsp; ##</span></p>

<p><span lang="EN-CA">&nbsp; 3:
##############################################</span></p>

<p><span lang="EN-CA">&nbsp; 4: </span></p>

<p><span lang="EN-CA">&nbsp; 5: volume gohabs</span></p>

<p><span lang="EN-CA">&nbsp; 6:&nbsp;&nbsp; type protocol/client</span></p>

<p><span lang="EN-CA">&nbsp; 7:&nbsp;&nbsp; option transport-type tcp/client</span></p>

<p><span lang="EN-CA">&nbsp; 8:&nbsp;&nbsp; option remote-host gohabs </span></p>

<p><span lang="EN-CA">&nbsp; 9:&nbsp;&nbsp; option remote-subvolume mantis</span></p>

<p><span lang="EN-CA">&nbsp;10: end-volume</span></p>

<p><span lang="EN-CA">&nbsp;11: </span></p>

<p><span lang="EN-CA">&nbsp;12: volume bondeau</span></p>

<p><span lang="EN-CA">&nbsp;13:&nbsp;&nbsp; type protocol/client</span></p>

<p><span lang="EN-CA">&nbsp;14:&nbsp;&nbsp; option transport-type tcp/client</span></p>

<p><span lang="EN-CA">&nbsp;15:&nbsp;&nbsp; option remote-host bondeau</span></p>

<p><span lang="EN-CA">&nbsp;16:&nbsp;&nbsp; option remote-subvolume mantis</span></p>

<p><span lang="EN-CA">&nbsp;17: end-volume</span></p>

<p><span lang="EN-CA">&nbsp;18: </span></p>

<p><span lang="EN-CA">&nbsp;19: volume afr</span></p>

<p><span lang="EN-CA">&nbsp;20:&nbsp;&nbsp;&nbsp; type cluster/afr</span></p>

<p><span lang="EN-CA">&nbsp;</span><span lang="FR-CA">21:&nbsp;&nbsp;&nbsp; subvolumes
bondeau gohabs</span></p>

<p><span lang="FR-CA">&nbsp;22: end-volume</span></p>

<p><span lang="FR-CA">+-----</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:194:new_section] parser: New node for &#39;gohabs&#39;</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[xlator.c:289:xlator_set_type] xlator: attempt to load file
/usr/local/lib/glusterfs/1.4.0pre5/xlator/protocol/client.so</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:219:section_type] parser: Type:gohabs:protocol/client</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:285:section_option] parser: Option:gohabs:transport-type:tcp/client</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:285:section_option] parser: Option:gohabs:remote-host:gohabs</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:285:section_option] parser: Option:gohabs:remote-subvolume:mantis</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:367:section_end] parser: end:gohabs</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:194:new_section] parser: New node for &#39;bondeau&#39;</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[xlator.c:289:xlator_set_type] xlator: attempt to load file
/usr/local/lib/glusterfs/1.4.0pre5/xlator/protocol/client.so</span></p>

<p><span lang="FR-CA">2008-10-03 16:33:40 D
[spec.y:219:section_type] parser: Type:bondeau:protocol/client</span></p>

<p><span lang="FR-CA">2008-10-03 16:33:40 D [spec.y:285:section_option]
parser: Option:bondeau:transport-type:tcp/client</span></p>

<p><span lang="FR-CA">2008-10-03 16:33:40 D
[spec.y:285:section_option] parser: Option:bondeau:remote-host:bondeau</span></p>

<p><span lang="FR-CA">2008-10-03 16:33:40 D
[spec.y:285:section_option] parser: Option:bondeau:remote-subvolume:mantis</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:367:section_end] parser: end:bondeau</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:194:new_section] parser: New node for &#39;afr&#39;</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[xlator.c:289:xlator_set_type] xlator: attempt to load file
/usr/local/lib/glusterfs/1.4.0pre5/xlator/cluster/afr.so</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[xlator.c:324:xlator_set_type] afr: strict option validation is not enforced --
neglecting</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:219:section_type] parser: Type:afr:cluster/afr</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D [spec.y:352:section_sub]
parser: child:afr-&gt;bondeau</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:352:section_sub] parser: child:afr-&gt;gohabs</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[spec.y:367:section_end] parser: end:afr</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[xlator.c:289:xlator_set_type] xlator: attempt to load file /usr/local/lib/glusterfs/1.4.0pre5/xlator/mount/fuse.so</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[xlator.c:324:xlator_set_type] fuse: strict option validation is not enforced
-- neglecting</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[glusterfs.c:771:main] glusterfs: running in pid 99336</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[fuse-options.c:140:fuse_options_validate] fuse-options: using mount-point =
/usr/local/www/mantis/files</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[fuse-options.c:147:fuse_options_validate] fuse-options: using attr-timeout = 1</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D [fuse-options.c:159:fuse_options_validate]
fuse-options: using entry-timeout = 1</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 D
[fuse-options.c:171:fuse_options_validate] fuse-options: using direct-io-mode =
1</span></p>

<p><span lang="EN-CA">2008-10-03 16:33:40 W
[common-utils.c:158:gf_print_bytes] glusterfs: Total data (in bytes):
transfered (0), received (0)</span></p>

<p><span lang="EN-CA">pending frames:</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">Signal received: 11</span></p>

<p><span lang="EN-CA">configuration details:db.h 1</span></p>

<p><span lang="EN-CA">dlfcn 1</span></p>

<p><span lang="EN-CA">libpthread 1</span></p>

<p><span lang="EN-CA">spinlock 1</span></p>

<p><span lang="EN-CA">extattr.h 1</span></p>

<p><span lang="EN-CA">package-string: glusterfs 1.4.0pre5</span></p>

<p><span lang="EN-CA">Segmentation fault: 11 (core dumped)</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">[root@martini] $ gdb glusterfs
glusterfs.core</span></p>

<p><span lang="EN-CA">GNU gdb 6.1.1 [FreeBSD]</span></p>

<p><span lang="EN-CA">Copyright 2004 Free Software Foundation,
Inc.</span></p>

<p><span lang="EN-CA">GDB is free software, covered by the GNU
General Public License, and you are</span></p>

<p><span lang="EN-CA">welcome to change it and/or distribute
copies of it under certain conditions.</span></p>

<p><span lang="EN-CA">Type &quot;show copying&quot; to see the
conditions.</span></p>

<p><span lang="EN-CA">There is absolutely no warranty for GDB.&nbsp;
Type &quot;show warranty&quot; for details.</span></p>

<p><span lang="EN-CA">This GDB was configured as
&quot;i386-marcel-freebsd&quot;...</span></p>

<p><span lang="EN-CA">Core was generated by `glusterfs&#39;.</span></p>

<p><span lang="EN-CA">Program terminated with signal 11, Segmentation
fault.</span></p>

<p><span lang="EN-CA">Reading symbols from
/usr/local/lib/libglusterfs.so.0...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for
/usr/local/lib/libglusterfs.so.0</span></p>

<p><span lang="EN-CA">Reading symbols from
/usr/local/lib/libiconv.so.3...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for
/usr/local/lib/libiconv.so.3</span></p>

<p><span lang="EN-CA">Reading symbols from
/lib/libpthread.so.2...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for /lib/libpthread.so.2</span></p>

<p><span lang="EN-CA">Reading symbols from /lib/libc.so.6...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for /lib/libc.so.6</span></p>

<p><span lang="EN-CA">Reading symbols from
/usr/local/lib/glusterfs/1.4.0pre5/xlator/protocol/client.so...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for
/usr/local/lib/glusterfs/1.4.0pre5/xlator/protocol/client.so</span></p>

<p><span lang="EN-CA">Reading symbols from
/usr/local/lib/glusterfs/1.4.0pre5/xlator/cluster/afr.so...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for
/usr/local/lib/glusterfs/1.4.0pre5/xlator/cluster/afr.so</span></p>

<p><span lang="EN-CA">Reading symbols from
/usr/local/lib/glusterfs/1.4.0pre5/xlator/mount/fuse.so...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for
/usr/local/lib/glusterfs/1.4.0pre5/xlator/mount/fuse.so</span></p>

<p><span lang="EN-CA">Reading symbols from
/usr/local/lib/libfuse.so.2...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for /usr/local/lib/libfuse.so.2</span></p>

<p><span lang="EN-CA">Reading symbols from
/libexec/ld-elf.so.1...done.</span></p>

<p><span lang="EN-CA">Loaded symbols for /libexec/ld-elf.so.1</span></p>

<p><span lang="EN-CA">#0&nbsp; 0x281cb537 in pthread_testcancel ()
from /lib/libpthread.so.2</span></p>

<p><span lang="EN-CA">[New Thread 0x805e400 (sleeping)]</span></p>

<p><span lang="EN-CA">[New Thread 0x805e200 (LWP 100102)]</span></p>

<p><span lang="EN-CA">[New Thread 0x805e000 (LWP 100143)]</span></p>

<p><span lang="EN-CA">(gdb) bt</span></p>

<p><span lang="EN-CA">#0&nbsp; 0x281cb537 in pthread_testcancel ()
from /lib/libpthread.so.2</span></p>

<p><span lang="EN-CA">#1&nbsp; 0x281b9ee5 in sigaction () from
/lib/libpthread.so.2</span></p>

<p><span lang="EN-CA">#2&nbsp; 0x281c2d31 in pthread_mutexattr_init ()
from /lib/libpthread.so.2</span></p>

<p><span lang="EN-CA">#3&nbsp; 0x281c2d9f in pthread_mutexattr_init ()
from /lib/libpthread.so.2</span></p>

<p><span lang="EN-CA">#4&nbsp; 0x2827a6bf in _ctx_start () from
/lib/libc.so.6</span></p>

<p><span lang="EN-CA">#5&nbsp; 0x00000000 in ?? ()</span></p>

<p><span lang="EN-CA">#6&nbsp; 0xbfbfe460 in ?? ()</span></p>

<p><span lang="EN-CA">#7&nbsp; 0xbfbfe1a0 in ?? ()</span></p>

<p><span lang="EN-CA">#8&nbsp; 0x00000000 in ?? ()</span></p>

<p><span lang="EN-CA">#9&nbsp; 0x281c2d5c in pthread_mutexattr_init ()
from /lib/libpthread.so.2</span></p>

<p><span lang="EN-CA">#10 0x282f035b in init (this_xl=0x8056880)
at fuse-bridge.c:2694</span></p>

<p><span lang="EN-CA">#11 0x0804ba34 in main (argc=7,
argv=0xbfbfebb0) at glusterfs.c:775</span></p>

<p><span lang="EN-CA">(gdb) quit</span></p>

<p><span lang="EN-CA">[root@martini] $ uname -imsr</span></p>

<p><span lang="EN-CA">FreeBSD 6.2-STABLE i386 GENERIC</span></p>

<p><span lang="EN-CA">&nbsp;</span></p>

<p><span lang="EN-CA">All the best</span></p>

</div>

</div>


<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br>Gluster/GlusterFS Hacker<br>[bulde on #gluster/<a href="http://irc.gnu.org">irc.gnu.org</a>]<br><a href="http://www.zresearch.com">http://www.zresearch.com</a> - Commoditizing Super Storage!<br>

</div>