> The ports should be the same, I think, just outgoing instead of incoming.  So,
> nfsv3 will need access to sunrpc and whatever ephemeral port it negotiates,
> and nfsv4 will need 2049. (note, this is the nfs version of the backing 
> server,
> not that ganesha is providing to
> clients.)
> 
> Does your container block outgoing connections? I don't think containers do
> that by default.

Since PROXY uses 4.1, Ganesha will only seek connection to port 2049 on the 
proxied server. I think it uses portmapper (111) though.

On the Ganesha serving side, it will use 2049 for NFS, and can be configured 
which ports to use for MOUNTD, NLM, and RQUOTA, otherwise it uses system call 
selected ports for those.

Frank

> Daniel
> 
> On Thu, Sep 21, 2017 at 6:40 AM, Stephan Walter
> <stephan.wal...@emea.nec.com> wrote:
> > Hi,
> >
> >
> >
> > I tried in the last days to put a nfs-ganesha  proxy server into a
> > docker container. I was able to configure and deploy a ganesha
> > container that export a specific directory and mount it successfully on 
> > other
> VMs.
> >
> >
> >
> > But, when I tried to do the same with a ganesha PROXY, the log report
> > over and over again:
> >
> >
> >
> > 21/09/2017 08:19:31 : epoch 59c37613 : dd85a933ae92 :
> > ganesha.nfsd-28[0x7f98c2d9e6f0] pxy_setclientid :FSAL :EVENT
> > :Negotiating a new ClientId with the remote server
> >
> >
> >
> > Since I have no problems, when I run exactly the same configuration
> > outside of a container, I would assume, that there is a problem with
> > the container ports.
> >
> >
> >
> > I looked around to find, what ports ganesha use, and how I can select
> them.
> > Nevertheless, I didn’t fount anything useful.
> >
> >
> >
> > So it would be great if somebody could point me to the right
> documentation.
> >
> >
> >
> > Best regards,
> >
> >
> >
> > Stephan
> >
> >
> > ----------------------------------------------------------------------
> > -------- Check out the vibrant tech community on one of the world's
> > most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Nfs-ganesha-devel mailing list
> > Nfs-ganesha-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
> >
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most engaging
> tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to