[Gluster-users] mounting gluster volumes issue

Thing thing.thing at gmail.com
Mon Nov 7 23:51:33 UTC 2016


Hi,

I have a 3 node raid 1 gluster setup on centos7.2. Each node can mount the
2 gluster volumes fine.

========
[root at glusterp1 volume1]# df -h
Filesystem                                     Size  Used Avail Use%
Mounted on
/dev/mapper/centos-root                         20G  1.9G   19G  10% /
devtmpfs                                       3.8G     0  3.8G   0% /dev
tmpfs                                          3.8G  4.0K  3.8G   1%
/dev/shm
tmpfs                                          3.8G   17M  3.8G   1% /run
tmpfs                                          3.8G     0  3.8G   0%
/sys/fs/cgroup
/dev/sda1                                      969M  197M  723M  22% /boot
/dev/mapper/centos-tmp                         3.9G   33M  3.9G   1% /tmp
/dev/mapper/centos-home                         50G   33M   50G   1% /home
/dev/mapper/centos-data1                       120G   33M  120G   1% /data1
/dev/mapper/centos-var                          20G  529M   20G   3% /var
/dev/mapper/centos00-var_lib                   9.4G  180M  9.2G   2%
/var/lib
tmpfs                                          771M     0  771M   0%
/run/user/1000
/dev/mapper/vg--gluster--prod1-gluster--prod1  932G   35M  932G   1%
/gluster-bricks/gluster-prod1
glusterp1.ods.graywitch.co.nz:volume2          112G   33M  112G   1%
/volume2
glusterp1.ods.graywitch.co.nz:gluster-prod-1   932G   34M  932G   1%
/volume1
[root at glusterp1 volume1]#
=======


However my raspberry pi2 running raspbian cannot, it fails silently.

Logs on the pi2 shows,

======
8><------
root at warlocke:/# tail /var/log/glusterfs/gluster-prod-2.log
[2016-11-08 12:22:17.776599] I [glusterfsd.c:1493:main]
0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.2.7
[2016-11-08 12:22:17.805706] W [rpc-common.c:64:xdr_to_generic]  0-xdr: XDR
decoding failed
[2016-11-08 12:22:17.805916] E [glusterfsd-mgmt.c:621:mgmt_getspec_cbk]
0-glusterfs: XDR decoding error
[2016-11-08 12:22:17.806021] E [glusterfsd-mgmt.c:695:mgmt_getspec_cbk]
0-mgmt: failed to fetch volume file (key:volume2)
[2016-11-08 12:22:17.806118] W [glusterfsd.c:727:cleanup_and_exit]  0-:
received signum (0), shutting down
[2016-11-08 12:22:17.806241] I [fuse-bridge.c:3849:fini] 0-fuse: Unmounting
'/gluster-prod-2'.
root at warlocke:/# tail /var/log/glusterfs/gluster-prod-1.log
[2016-11-08 12:18:51.538029] E [glusterfsd-mgmt.c:621:mgmt_getspec_cbk]
0-glusterfs: XDR decoding error
[2016-11-08 12:18:51.538122] E [glusterfsd-mgmt.c:695:mgmt_getspec_cbk]
0-mgmt: failed to fetch volume file (key:/gluster-prod1)
[2016-11-08 12:18:51.538212] W [glusterfsd.c:727:cleanup_and_exit]  0-:
received signum (0), shutting down
[2016-11-08 12:18:51.538381] I [fuse-bridge.c:3849:fini] 0-fuse: Unmounting
'/gluster-prod-1'.
[2016-11-08 12:19:52.628029] I [glusterfsd.c:1493:main]
0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.2.7
[2016-11-08 12:19:52.649443] W [rpc-common.c:64:xdr_to_generic]  0-xdr: XDR
decoding failed
[2016-11-08 12:19:52.649664] E [glusterfsd-mgmt.c:621:mgmt_getspec_cbk]
0-glusterfs: XDR decoding error
[2016-11-08 12:19:52.649749] E [glusterfsd-mgmt.c:695:mgmt_getspec_cbk]
0-mgmt: failed to fetch volume file (key:gluster-prod1)
[2016-11-08 12:19:52.649850] W [glusterfsd.c:727:cleanup_and_exit]  0-:
received signum (0), shutting down
[2016-11-08 12:19:52.649969] I [fuse-bridge.c:3849:fini] 0-fuse: Unmounting
'/gluster-prod-1'.
=======

Centos7.2's gluster version,

==========
[root at glusterp1 volume1]# rpm -qa |grep gluster
glusterfs-cli-3.8.5-1.el7.x86_64
glusterfs-libs-3.8.5-1.el7.x86_64
vdsm-gluster-4.18.13-1.el7.centos.noarch
centos-release-gluster38-1.0-1.el7.centos.noarch
glusterfs-fuse-3.8.5-1.el7.x86_64
glusterfs-client-xlators-3.8.5-1.el7.x86_64
glusterfs-server-3.8.5-1.el7.x86_64
glusterfs-3.8.5-1.el7.x86_64
glusterfs-geo-replication-3.8.5-1.el7.x86_64
glusterfs-api-3.8.5-1.el7.x86_64
[root at glusterp1 volume1]#
==========

pi's version,

==========
root at warlocke:/# apt-cache search gluster
glusterfs-client - clustered file-system (client package)
glusterfs-common - GlusterFS common libraries and translator modules
glusterfs-dbg - GlusterFS debugging symbols
glusterfs-examples - example files for the glusterfs server and client
glusterfs-server - clustered file-system (server package)
root at warlocke:/# apt-get install glusterfs-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
glusterfs-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root at warlocke:/# dpkg -l glusterfs-client
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture
Description
+++-=============================-===================-===================-================================================================
ii  glusterfs-client              3.2.7-3+deb7u1      armhf
clustered file-system (client package)
root at warlocke:/#
========


Too big a version mis-match?

or something fixable?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161108/54552ce2/attachment.html>


More information about the Gluster-users mailing list