GlusterFS: "failed to get the 'volume file' from server"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

GlusterFS: "failed to get the 'volume file' from server"

Post by peter_b »

[PROBLEM]
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:
Mount failed. Please check the log file for more details.
So I checked the log in "/var/log/glusterfs/mnt-<volume_name>":

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'.
[SOLUTION]
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
After upgrading the client's GlusterFS version to v3.4, mounting worked properly as expected. :)
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

Re: GlusterFS: "failed to get the 'volume file' from server"

Post by peter_b »

Same error message again, this time with Debian 7 (Wheezy).
The solution is the same: Upgrade glusterfs.

Latest v3.4 release for Debian is available here:
http://download.gluster.org/pub/gluster ... ST/Debian/
Post Reply