GlusterFS install from Source

Compilation from Source

If you wish to install glusterrfs in a fresh out of the box Ubuntu 12.04 machine.

  1. Download first the glusterfs3.3.1 Download Source Code
  2. You may also need
      • sudo apt-get install flex
      • sudo apt-get install bison
      • sudo apt-get install openssl
      • sudo apt-get install libssl-dev
  3. An error like this may occur after you run autoreconf -f or ./configure
  4.             checking if libxml2 is present... ./configure: line 12975: syntax error near unexpected token `LIBXML2,          ./configure: line 12975: `PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= 2.6.19,'
  5. YOU MAY  NEED TO DO THIS BUT NOT REQUIRED!!!git clone git://  As you may have an older version installed of libxml2
    1. cd libxml2; ./; make; make install
    2. By default libxml2 will try to install using python-dev, simply install it or remove it from the ./configure commnand line
    3. apt-get install python-dev
    4. make; make install
    5. cd ..
  6. REAL SOLUTION FIX: You need to autoreconf -f, but first
    • apt-get install pkg-config
    • pkg-config libxml-2.0 –modversion
      • This should return 2.9.1  or similar…
    • autoreconf -f
    • automake –add-missing
    • ./configure
    • make; make install
  7. IF this FAILS, you may need to  git clone  run ./ and ./configure again before make;make install in the glusterfs directory. 


You need to create a /etc/glusterfs/glusterd.vol file, that is going to be read as glusterfsd.  If you see the old, GlusterFS used to use gluserfs-server not glistered.  The client remains glisters for all versions.







Visit Us On TwitterVisit Us On FacebookVisit Us On YoutubeVisit Us On Linkedin