I've set up a RHEL 6.5 with GlusterFS 3.4.2 from Gluster repositories for CentOS. I can mount and use the Gluster share without problems locally on the RHEL machine.
But when I tried to mount it from an Ubuntu 12.04 (precise pangolin), it failed, telling me:
So I checked the log in "/var/log/glusterfs/mnt-<volume_name>":Mount failed. Please check the log file for more details.
Code: Select all
[2014-03-18 14:53:21.942165] I [glusterfsd.c:1670:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.3.2
[2014-03-18 14:53:21.951300] E [glusterfsd-mgmt.c:1550:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume file' from server
[2014-03-18 14:53:21.951720] E [glusterfsd-mgmt.c:1618:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:/dlp-storage)
[2014-03-18 14:53:21.952374] W [glusterfsd.c:838:cleanup_and_exit] (-->/usr/lib/libgfrpc.so.0(rpc_clnt_notify+0xa5) [0x7ff495cfe625] (-->/usr/lib/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5) [0x7ff495cfdba5] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x304) [0x7ff4963b09e4]))) 0-: received signum (0), shutting down
[2014-03-18 14:53:21.952396] I [fuse-bridge.c:4655:fini] 0-fuse: Unmounting '/mnt/dlp-storage'.
The problem was version incompatibility:
Server was GlusterFS v3.4.2, while the client (Ubuntu) was still v3.3.2.
By using a PPA for GlusterFS, one can install v3.4 on Ubuntu Precise Pangolin (12.04).
Details about which PPA and how to install it can be found on gluster.org:
http://download.gluster.org/pub/gluster ... ST/Ubuntu/
In my case that was:
Code: Select all
$ add-apt-repository ppa:semiosis/ubuntu-glusterfs-3.4