[Gluster-users] NFS mount

Rajesh Joseph rjoseph at redhat.com
Thu Aug 20 07:06:21 UTC 2015



----- Original Message -----
> From: "shacky" <shacky83 at gmail.com>
> To: "Soumya Koduri" <skoduri at redhat.com>
> Cc: "gluster-users" <gluster-users at gluster.org>
> Sent: Thursday, August 20, 2015 12:13:19 PM
> Subject: Re: [Gluster-users] NFS mount
> 
> 2015-08-19 18:42 GMT+02:00 Soumya Koduri <skoduri at redhat.com>:
> 
> > Could you check the output of 'rpcinfo -p'
> 
> root at node3 ~ # 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
>     100021    3   udp  38077  nlockmgr
>     100021    4   udp  38077  nlockmgr
>     100021    3   tcp  40634  nlockmgr
>     100021    4   tcp  40634  nlockmgr
>     100005    3   tcp  38465  mountd
>     100005    1   tcp  38466  mountd
>     100003    3   tcp   2049  nfs
>     100024    1   udp  40452  status
>     100024    1   tcp  49323  status
>     100021    1   udp    977  nlockmgr
> 
> > and also the log file '/var/log/glusterfs/nfs.log'.
> 
> root at node3 ~ # tail -f /var/log/glusterfs/nfs.log
> [2015-08-20 06:41:50.420636] I [socket.c:3576:socket_init]
> 0-socket.nfs-server: using system polling thread
> [2015-08-20 06:41:50.421140] I [socket.c:3561:socket_init]
> 0-socket.NLM: SSL support is NOT enabled
> [2015-08-20 06:41:50.421149] I [socket.c:3576:socket_init]
> 0-socket.NLM: using system polling thread
> [2015-08-20 06:41:50.438415] E
> [rpcsvc.c:1314:rpcsvc_program_register_portmap] 0-rpc-service: Could
> not register with portmap
> [2015-08-20 06:41:50.438472] E [nfs.c:332:nfs_init_versions] 0-nfs:
> Program  NLM4 registration failed
> [2015-08-20 06:41:50.438492] E [nfs.c:1312:init] 0-nfs: Failed to
> initialize protocols
> [2015-08-20 06:41:50.438506] E [xlator.c:403:xlator_init]
> 0-nfs-server: Initialization of volume 'nfs-server' failed, review
> your volfile again
> [2015-08-20 06:41:50.438520] E [graph.c:307:glusterfs_graph_init]
> 0-nfs-server: initializing translator failed
> [2015-08-20 06:41:50.438533] E [graph.c:502:glusterfs_graph_activate]
> 0-graph: init failed
> [2015-08-20 06:41:50.439035] W [glusterfsd.c:1095:cleanup_and_exit]
> (-->/usr/lib/x86_64-linux-gnu/libgfrpc.so.0(rpc_clnt_handle_reply+0xa4)
> [0x7f79b938dae4] (-->/usr/sbin/glusterfs(mgmt_getspec_cbk+0x307)
> [0x40c557] (-->/usr/sbin/glusterfs(glusterfs_process_volfp+0x106)
> [0x408306]))) 0-: received signum (0), shutting down

It seems that the nfs server failed to register with port mapper. This will
happen if portmap is not running when glusterd is started.

Therefore always start portmap before starting glusterd. And if portmap is 
restarted you should also restart gluster nfs server.


> 
> Just for clarify, I'm using Proxmox VE 3.4.9.
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
> 


More information about the Gluster-users mailing list