[Gluster-devel] Question on quota-anon-fd-nfs.t

Emmanuel Dreyfus manu at netbsd.org
Thu Oct 23 03:46:08 UTC 2014


Emmanuel Dreyfus <manu at netbsd.org> wrote:

> # rpcinfo
>   program version netid     address                service    owner
(...)
>    100005    3    tcp       0.0.0.0.150.65         mountd     superuser
>    100005    1    tcp       0.0.0.0.150.66         mountd     superuser
>    100003    3    tcp       0.0.0.0.8.1            nfs        superuser
>    100227    3    tcp       0.0.0.0.8.1            -          superuser

The display is odd but the registration is correct: address is in format
a.b.c.d.x.y where a.b.c.d is the IP, x the ports MSB and y the port's LSB.

And indeed (8 << 8) + 1 = 2049, the NFS port, and (150 << 8) + 65 is the
port where glusterfsd listen for mountd service.

The problem here is that NetBSD's mount_nfs defaults to udp, and glusterfs
only provides the tcp service. Wrapper in tests/nfs.rc should have added -o
tcp to workaround that but it failed to do so. I will post a fix soon. 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list