[Gluster-users] Gluster-NFS issues

Uchenna Ojiaku - NOAA Affiliate uchenna.ojiaku at noaa.gov
Mon Jul 10 16:20:50 UTC 2017


Hi All,

I'm having an issue with connecting Gluster with NFS. When I do gluster
volume status. It shows the ports aren't opened.
NFS Server on localhost                     N/A       N/A        N       N/A

the /var/log/glusterfs/etc-glusterfs-glusterd.vol.log file states this:
[2017-07-10 15:48:25.214618] I [MSGID: 106006]
[glusterd-svc-mgmt.c:323:glusterd
_svc_common_rpc_notify] 0-management: nfs has disconnected from glusterd.

the name of my volume is vol_dr. the /var/log/glusterfs/glustershd.log
states:
[2017-07-10 15:53:11.766828] E [socket.c:2279:socket_connect_finish]
0-vol_dr-client-3: connection to 10.2.7.73:49155 failed (Connection timed
out)
[2017-07-10 15:53:11.766828] E [socket.c:2279:socket_connect_finish]
0-vol_dr-client-2: connection to 10.2.7.73:49154 failed (Connection timed
out)
[2017-07-10 15:53:14.594071] I [rpc-clnt.c:1847:rpc_clnt_reconfig]
0-vol_dr-client-2: changing port to 49154 (from 0)
[2017-07-10 15:53:14.596908] I [rpc-clnt.c:1847:rpc_clnt_reconfig]
0-vol_dr-client-3: changing port to 49155 (from 0)

I ran gluster volume info and here are the options configured:

Options Reconfigured:
nfs.disable: off
performance.readdir-ahead: on
nfs.exports-auth-enable: on


# rpcinfo -p
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  54233  status
    100024    1   tcp  32813  status
    100005    2   udp  20048  mountd
    100005    2   tcp  20048  mountd
    100003    4   tcp   2049  nfs
    100003    4   udp   2049  nfs
    100021    3   udp  56990  nlockmgr
    100021    3   tcp  40572  nlockmgr

# systemctl status nfs
● nfs-server.service - NFS server and services
   Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled;
vendor preset: disabled)
   Active: active (exited) since Wed 2017-07-05 16:07:06 UTC; 5 days ago
 Main PID: 130933 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/nfs-server.service


# systemctl status glusterd
● glusterd.service - GlusterFS, a clustered file-system server
   Loaded: loaded (/usr/lib/systemd/system/glusterd.service; disabled;
vendor preset: disabled)
   Active: active (running) since Wed 2017-07-05 20:03:15 UTC; 4 days ago
 Main PID: 54516 (glusterd)
   CGroup: /system.slice/glusterd.service
           ├─54516 /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level
IN...
           └─54695 /usr/sbin/glusterfs -s localhost --volfile-id
gluster/glus...




Thanks,

Uche
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170710/04631344/attachment.html>


More information about the Gluster-users mailing list