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

Niels de Vos ndevos at redhat.com
Mon Oct 20 13:25:45 UTC 2014


On Mon, Oct 20, 2014 at 01:40:01PM +0200, Emmanuel Dreyfus wrote:
> Raghavendra G <raghavendra.hg at gmail.com> wrote:
> 
> > 1. whether knfsd is running. If running it should be stopped I think.
> 
> This is NetBSD, no knfsd is at work here. I have to note that other NFS
> tests do work.
> 
> > 2. whether gluster volume is exported through NFS. For eg., on my system,
> > where gluster volume ptop is exported through NFS,:
> 
> That works:
> 
> # showmount -e 
> Exports list on localhost:
> /patchy   
> 
> But:
> 
> # mount -t nfs localhost:patchy /mnt2mount_nfs: rpcbind to nfs on
> server: RPC: Program not registered
> 
> And here is the probable cause: the IP/port for mountd and nfsd seems
> kinked. I don't understand how it finds mountd but it does not find
> nfsd.

Note that Gluster/NFS only supports NFSv3. Maybe you need to pass
something like '-o vers=3' to mount? The Linux mount.nfs fallsback to V3
in case V4 fails, I would expect NetBSD to do so too. It seems that
tests/nfs.rc in the master branch has the NetBSD specific options.

Aha! tests/basic/quota-anon-fd-nfs.t does not use the helper function,
but executes 'mount -t nfs ..'.

I guess you know better than most of us how to fix that :)

Let me know if you want me to send a patch for that. Or, post a link to
the change so that I can review/merge it.

Thanks,
Niels

> 
> # rpcinfo    program version netid     address                service
> owner    100000    4    tcp       0.0.0.0.0.111          portmapper
> superuser    100000    3    tcp       0.0.0.0.0.111          portmapper
> superuser    100000    2    tcp       0.0.0.0.0.111          portmapper
> superuser    100000    4    udp       0.0.0.0.0.111          portmapper
> superuser    100000    3    udp       0.0.0.0.0.111          portmapper
> superuser    100000    2    udp       0.0.0.0.0.111          portmapper
> superuser    100000    4    tcp6      ::.0.111               portmapper
> superuser    100000    3    tcp6      ::.0.111               portmapper
> superuser    100000    4    udp6      ::.0.111               portmapper
> superuser    100000    3    udp6      ::.0.111               portmapper
> superuser    100000    4    local     /var/run/rpcbind.sock  portmapper
> superuser    100000    3    local     /var/run/rpcbind.sock  portmapper
> superuser    100000    2    local     /var/run/rpcbind.sock  portmapper
> superuser    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
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu at netbsd.org
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel


More information about the Gluster-devel mailing list