GlusterFS on Nexenta Core

November 09, 2009 - 12:00 pm

Just some simple notes on compiling GlusterFS on Nexenta. It almost worked flawlessly; had some issues with a redundant incorrect vasprintf declaration. Commenting it out seemed to have no ill effect, and allowed compilation to complete.

cd /usr/src
tar -zxf glusterfs*.gz
cd glusterfs*
apt-get install flex bison build-essential byacc

In libglusterfs/src/compat.h, comment out vasprintf declaration, then continue:

./configure --prefix=/opt/glusterfs --disable-libglusterfsclient --disable-fuse-client
make install

AFAIK, OpenSolaris-based operating systems still aren't capable of using the Gluster client, which makes certain replication schemes a bit impossible.