[Gluster-users] Fwd: start NFS on localhost
Michael Schefczyk
michael at schefczyk.net
Fri Jan 9 18:34:02 UTC 2015
Dear All,
sorry, I did finally recall the answer myself:
disable file locking in the /etc/nfsmount.conf file with the line Lock=False
this is described here:
http://community.redhat.com/blog/2014/10/up-and-running-with-ovirt-3-5/
stop all volumes, start all volumes
Michael
---------- Original Nachricht ----------
Betreff: start NFS on localhost
Datum: Fri, 9 Jan 2015 19:25:02 +0100
Von: Michael Schefczyk <michael at schefczyk.net>
An: gluster-users at gluster.org
Dear All,
having tried for a longer while and having read thoug many posts, I am still seeking a reliable method to get gluster NFS to start on localhost in a Centos 7 setup. I did have a working setup with two peer servers. After reinstalling one of them, I am plainly unable to get the reinstalled server to start gluster NFS.
This is the key output showing that NFS is only running on the other server 192.168.25.40. Of courese, nfs-server and nfs-mountd are off and I plainly do not know how to deactivate kernel NFS any further:
[root at linuxhost1 ~]# gluster vol status
Status of volume: engine01vol
Gluster process Port Online Pid
------------------------------------------------------------------------------
Brick 192.168.25.30:/kvm01brick/engine/brick 50153 Y 3417
Brick 192.168.25.40:/kvm01brick/engine/brick 50158 Y 17462
NFS Server on localhost N/A N N/A
Self-heal Daemon on localhost N/A Y 3475
NFS Server on 192.168.25.40 2049 Y 17489
Self-heal Daemon on 192.168.25.40 N/A Y 17520
/var/log/glusterfs/nfs.log:
[2015-01-09 18:09:55.962554] I [MSGID: 100030] [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.6.2beta1 (args: /usr/sbin/glusterfs -s localhost --volfile-id gluster/nfs -p /var/lib/glusterd/nfs/run/nfs.pid -l /var/log/glusterfs/nfs.log -S /var/run/aa890dcd0b93d4e04b4204de6b9b927c.socket)
[2015-01-09 18:09:56.298830] I [rpcsvc.c:2142:rpcsvc_set_outstanding_rpc_limit] 0-rpc-service: Configured rpc.outstanding-rpc-limit with value 16
[2015-01-09 18:09:56.347656] W [nlm4.c:2457:nlm4svc_init] 0-nfs-NLM: unable to get pid of rpc.statd from /var/run/rpc.statd.pid
[2015-01-09 18:09:56.456431] E [rpcsvc.c:1303:rpcsvc_program_register_portmap] 0-rpc-service: Could not register with portmap 100021 4 38468
[2015-01-09 18:09:56.456487] E [nfs.c:331:nfs_init_versions] 0-nfs: Program NLM4 registration failed
[2015-01-09 18:09:56.456509] E [nfs.c:1341:init] 0-nfs: Failed to initialize protocols
[2015-01-09 18:09:56.456546] E [xlator.c:425:xlator_init] 0-nfs-server: Initialization of volume 'nfs-server' failed, review your volfile again
[2015-01-09 18:09:56.456564] E [graph.c:322:glusterfs_graph_init] 0-nfs-server: initializing translator failed
[2015-01-09 18:09:56.456582] E [graph.c:525:glusterfs_graph_activate] 0-graph: init failed
[2015-01-09 18:09:56.457240] W [glusterfsd.c:1194:cleanup_and_exit] ( --> 0-: received signum (0), shutting down
[root at linuxhost1 ~]# 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 47784 nlockmgr
100021 4 udp 47784 nlockmgr
100021 3 tcp 38554 nlockmgr
100021 4 tcp 38554 nlockmgr
100005 1 tcp 38466 mountd
100003 3 tcp 2049 nfs
100024 1 udp 42238 status
100024 1 tcp 45715 status
100005 1 udp 20048 mountd
100005 2 udp 20048 mountd
100005 3 udp 20048 mountd
100003 4 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 3 udp 2049 nfs_acl
100011 1 udp 875 rquotad
100011 2 udp 875 rquotad
100011 1 tcp 875 rquotad
100011 2 tcp 875 rquotad
[root at linuxhost1 ~]# netstat -nlpt | grep -w 47784
[root at linuxhost1 ~]# netstat -nlpt | grep -w 38554
tcp 0 0 0.0.0.0:38554 0.0.0.0:* LISTEN -
Can someone please point me to the right direction?
Regards,
Michael
More information about the Gluster-users
mailing list