[Gluster-users] nfs client gets connection refused

Christos Tsalidis chtsalid at gmail.com
Tue Oct 9 09:16:30 UTC 2018

Hi all,

I am testing the nfs client in glusterfs 3.12.14 version on CentOS Linux
release 7.5.1804 and getting a connection refused message.

[root at workstation ~]# mount /mnt/nfs
mount.nfs: Connection refused

[root at workstation ~]# cat /etc/fstab | grep servera
servera:/mastervol /mnt/nfs nfs rw 0 0
[root at workstation ~]#

nfs-utils have been installed on client machine

[root at workstation ~]# rpm -q nfs-utils

Here some information about my gluster cluster

[root at servera ~]# gluster volume info mastervol

Volume Name: mastervol
Type: Distribute
Volume ID: f6bfe62f-068d-4ade-8d47-ee2e61418804
Status: Started
Snapshot Count: 0
Number of Bricks: 2
Transport-type: tcp
Brick1: servera:/bricks/brick-a1/brick
Brick2: serverb:/bricks/brick-b1/brick
Options Reconfigured:
transport.address-family: inet
nfs.disable: off

[root at servera ~]# firewall-cmd --list-services
ssh dhcpv6-client glusterfs nfs rpc-bind

[root at servera ~]# gluster peer status
Number of Peers: 1

Hostname: serverb.lab.local
Uuid: e88e454a-f85a-472a-8920-a541c8615d03
State: Peer in Cluster (Connected)

[root at servera ~]# gluster volume status mastervol
Status of volume: mastervol
Gluster process                             TCP Port  RDMA Port  Online  Pid
Brick servera:/bricks/brick-a1/brick        49152     0          Y
Brick serverb:/bricks/brick-b1/brick        49152     0          Y
NFS Server on localhost                     N/A       N/A        N       N/A
NFS Server on serverb.lab.local             N/A       N/A        N       N/A

Task Status of Volume mastervol
There are no active volume tasks

Do you have any idea how can I solve this?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181009/231563c1/attachment.html>

More information about the Gluster-users mailing list