I've four systems with multiple 4-way replica volumes. I'm migrating a number of volumes from Fuse to NFS for performance reasons.

My first two hosts seem to work nicely, but the other two won't start the NFS services properly. I looked through the nfs.log, but it doesn't give any indication of why it did not register with rpcbind. I'm presuming I've got a misconfiguration on two of the systems, but there isn't a clear indication of what is not working.

Here is an example from a host which does not work:

[root@dresproddns01 ~]# 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
[root@dresproddns01 ~]# ps ax | grep nfs
2167119 ?        S      0:00 [nfsiod]
2738268 ?        Ssl    0:00 /opt/glusterfs/3.2.5/sbin/glusterfs -f /etc/glusterd/nfs/nfs-server.vol -p /etc/glusterd/nfs/run/nfs.pid -l /var/log/glusterfs/nfs.log
2934228 pts/0    S+     0:00 grep nfs
[root@dresproddns01 ~]# netstat -ntlp | grep 2738268
tcp        0      0 0.0.0.0:38465               0.0.0.0:*                   LISTEN      2738268/glusterfs  
tcp        0      0 0.0.0.0:38466               0.0.0.0:*                   LISTEN      2738268/glusterfs  
tcp        0      0 0.0.0.0:38467               0.0.0.0:*                   LISTEN      2738268/glusterfs 

[root@dresproddns01 ~]# gluster volume info svn

Volume Name: svn
Type: Replicate
Status: Started
Number of Bricks: 4
Transport-type: tcp
Bricks:
Brick1: rhesproddns01:/gluster/svn
Brick2: rhesproddns02:/gluster/svn
Brick3: dresproddns01:/gluster/svn
Brick4: dresproddns02:/gluster/svn
Options Reconfigured:
performance.client-io-threads: 1
performance.flush-behind: on
network.ping-timeout: 5
performance.stat-prefetch: 1
nfs.disable: off
nfs.register-with-portmap: on
auth.allow: 10.250.53.*,10.252.248.*,169.254.*,127.0.0.1
performance.cache-size: 256Mb
performance.write-behind-window-size: 128Mb

Only obvious difference with a host which does work is this:

[root@rhesproddns01 named]# 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
    100005    3   tcp  38465  mountd
    100005    1   tcp  38466  mountd
    100003    3   tcp  38467  nfs


Any ideas where to look for errors?

_______________________________________________
Gluster-users mailing list
[email protected]
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

Reply via email to