GlusterFS on MAC OS X

From GlusterDocumentation

Jump to: navigation, search

FIXME: if you fail to get any steps in doc working, mail to the mailing list

Over Mac OS X, Both glusterfs server side, and client (mount point) are tested. But to get it to work, the following steps are important.


Contents

Dependency

Its reported that the build with gcc-4.2 fails. But you can build glusterfs with gcc-4.0.1 and it works fine.

MacFUSE

  • Just installing latest MacFUSE release from MacFUSE home page should work fine. otherwise, one can choose to follow below mentioned steps.

Follow these steps from your terminal in Mac. (As of June 26th, 2008)

bash# cd
bash# svn checkout http://macfuse.googlecode.com/svn/trunk/ macfuse
bash# cd macfuse/core
bash# ./build_macfuse.sh
bash# cd /tmp/macfuse-core-*/   #note that this version keeps changing so a '*' for noting the just created directory 
bash# installer -pkg "MacFUSE Core.pkg" -target /

NOTE: You need not install versions for MacFUSE everytime you want to upgrade GlusterFS. Its a one time installation requirement.

argp-standalone

Mac OS X 10.5 doesn't come with argp. You can get it from Darwin Ports or the below step is enough.

bash# port install argp-standalone


Installing GlusterFS

Now, follow the exact same steps to get GlusterFS getting compiled.

bash# wget http://ftp.zresearch.com/pub/gluster/glusterfs/1.4-qa/glusterfs-1.4.0qa24.tar.gz

If wget is not installed, you can download the tarball from the browser too.

bash# tar -xzf glusterfs-1.4.0qa24.tar.gz
bash# cd glusterfs-1.4.0qa24
bash# ./configure 
bash# make 
bash# make install

NOTE: If the build fails, please mail to GlusterFS developers.

NOTE:

  • Tested iozone, dbench (Mac OS X server and GNU/Linux client), bonnie++ with '-n 0'
  • Tested with GNU/Linux server and MacFUSE as client.
  • No support for executable over the file-system yet. (filesystem mounted with 'noexec' flag).
  • Please write to gluster-devel@nongnu.org if you find any issues.
  • Supported in GlusterFS release 1.4.0qa24 and later.

External Links

Personal tools