[Gluster-users] glusterfs and zfs and freeBSD

Oliver Hoffmann oh at dom.de
Thu Mar 11 19:05:39 UTC 2010


Hi list,

I used zfs on FreeBSD 8.0 for a while now which is just fine. The
next step would be to combine it with glusterfs and even heartbeat.
I installed fuse (from the ports) already and while compiling glusterfs
2.0.9 or 3.0.0 or 3.0.2 I always get this:

Making all in posix
Making all in src
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H  -I. -I. -I../../../..     -fPIC -fno-strict-aliasing
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -Wall
-I../../../../libglusterfs/src -shared -nostartfiles
-I../../../../argp-standalone -g -O2 -MT posix.lo -MD -MP -MF
".deps/posix.Tpo" -c -o posix.lo posix.c;  then mv -f ".deps/posix.Tpo"
".deps/posix.Plo"; else rm -f ".deps/posix.Tpo"; exit 1; fi libtool:
compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC
-fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DGF_BSD_HOST_OS -Wall -I../../../../libglusterfs/src -nostartfiles
-I../../../../argp-standalone -g -O2 -MT posix.lo -MD -MP
-MF .deps/posix.Tpo -c posix.c  -fPIC -DPIC -o .libs/posix.o posix.c:
In function 'janitor_walker': posix.c:1348: error: 'FTW_CONTINUE'
undeclared (first use in this function) posix.c:1348: error: (Each
undeclared identifier is reported only once posix.c:1348: error: for
each function it appears in.) posix.c: In function 'posix_readv':
posix.c:2436: warning: format '%lu' expects type 'long unsigned int',
but argument 2 has type 'size_t' *** Error code 1

Stop in /tmp/glusterfs-3.0.2/xlators/storage/posix/src.
*** Error code 1

Stop in /tmp/glusterfs-3.0.2/xlators/storage/posix.
*** Error code 1

Stop in /tmp/glusterfs-3.0.2/xlators/storage.
*** Error code 1

Stop in /tmp/glusterfs-3.0.2/xlators.
*** Error code 1

Stop in /tmp/glusterfs-3.0.2.
*** Error code 1

Stop in /tmp/glusterfs-3.0.2.

I had success with version 1.3.12 though. FreeBSD 7.0 or 7.2 seems to
be the better choice here but zfs is not as mature as on 8.0. 

Is there a chance to have FreeBSD 8.0 running zfs and glusterfs 3.x or
2.x?

Apart from that Linux plus zfs is not what I want but opensolaris might
be an option. Should I consider this and drop FreeBSD?

Regards,

Oliver Hoffmann





More information about the Gluster-users mailing list