When my client try to connect gluster server it gives below error:
[glusterfsd-mgmt.c:1627:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:gluster_vol_0)
My client is an Amazon Linux instance located on Anazon EC2. I installed glusterfs-fuse like below:
sudo su -
#install glusterfs repo
wget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo /glusterfs-epel.repo
#fix it for amazon linux
sed -i 's/$releasever/6/g' /etc/yum.repos.d/glusterfs-epel.repo
#install glusterfs
yum install -y glusterfs-fuse
#setup fstab
echo "hostname.example.com:/media-volume /mnt/glusterfs glusterfs defaults 0 0" >> /etc/fstab
#mount
mkdir -p /mnt/glusterfs
mount -a
Could you help me please.
Kind regards...