Discussion:
[Gluster-users] nfs client gets connection refused
Christos Tsalidis
2018-10-09 09:16:30 UTC
Permalink
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.

[***@workstation ~]# mount /mnt/nfs
mount.nfs: Connection refused

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

nfs-utils have been installed on client machine

[***@workstation ~]# rpm -q nfs-utils
nfs-utils-1.3.0-0.54.el7.x86_64

Here some information about my gluster cluster


[***@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
Bricks:
Brick1: servera:/bricks/brick-a1/brick
Brick2: serverb:/bricks/brick-b1/brick
Options Reconfigured:
transport.address-family: inet
nfs.disable: off

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


[***@servera ~]# gluster peer status
Number of Peers: 1

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

[***@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
10966
Brick serverb:/bricks/brick-b1/brick 49152 0 Y
9138
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
Niels de Vos
2018-10-09 09:49:34 UTC
Permalink
Post by Christos Tsalidis
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.
...
Post by Christos Tsalidis
Status of volume: mastervol
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
...
Post by Christos Tsalidis
NFS Server on localhost N/A N/A N N/A
NFS Server on serverb.lab.local N/A N/A N N/A
The NFS-server is not running. Do you have the glusterfs-gnfs package
installed?

We recommend migrating to NFS-Ganesha in the near future. The old
Gluster/NFS service is deprecated and will not be provided in the common
repositories with upcoming Gluster versions.

HTH,
Niels

Continue reading on narkive:
Loading...