[Gluster-users] NFS mount

Jiffin Tony Thottan jthottan at redhat.com
Thu Aug 20 07:00:48 UTC 2015



On 20/08/15 12:13, shacky wrote:
> 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
>
> Just for clarify, I'm using Proxmox VE 3.4.9.
Hi,

It seems to be you porst are already registered with a nfs process(may 
inactive gluster nfs process).
can restart the rpcbind process and check whether ports are still 
registered?
If yes, then you might need clean up those ports manually using `rpcinfo 
-d <program>  <version>`
ex. rpcinfo -d 100021 3

This should be done for all the ports(nlockmgr, mountd, nfs, status) 
except portmapper.

--
Jiffin
> _______________________________________________
> 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