All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Rati <Robert.Rati@motorola.com>
To: Ion Badulescu <ionut@badula.org>
Cc: nfs@lists.sourceforge.net
Subject: Re: mountd through a firewall?
Date: Thu, 20 Feb 2003 10:36:07 -0600	[thread overview]
Message-ID: <3E5503F7.80809@motorola.com> (raw)
In-Reply-To: <200302201410.h1KEAXaB002624@buggy.badula.org>

Ion Badulescu wrote:
> On Wed, 19 Feb 2003 16:56:46 -0600, Robert Rati <Robert.Rati@motorola.com> wrote:
> 
>>When I start rpc.mountd, I notice that it always registers 4 ports with 
>>portmapper.  2 TCP and 2 UDP, which corespond to two separate instances 
>>of mountd.  When I run exportfs, I see that no file systems are being 
>>exported.  If I export a file system, the only difference is exportfs 
>>shows a file system being exported.  This will obviously cause a problem 
>>if I try to specify a port for rpc.mountd to run on as both instances of 
>>mountd try to use the same port and the tcp bind for the second instance 
>>fails.  Why does rpc.mountd start two instances of mountd?
> 
> 
> It doesn't, so you must be doing something very wrong on your system -- 
> are you starting a second mountd or something?

Thanks for the reply.

Actually, I mispoke in my first statement, sorry.  mountd isn't creating 
two instances on the system, but it's opening 4 ports from the same 
instance.  I thought that maybe mountd was opening a pair of ports for 
each exported filesystem, but my /etc/exports is bare, exportfs shows no 
exported file systems, so why is mountd using 4 ports?  Even if I share 
a directory, mountd is still using 4 ports.

Is there a way to control the port range mountd will use?  If not, do 
you know the range mountd will use?

Rob



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2003-02-20 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 22:56 mountd through a firewall? Robert Rati
2003-02-20 14:10 ` Ion Badulescu
2003-02-20 16:36   ` Robert Rati [this message]
2003-02-20 17:10     ` Ion Badulescu
2003-02-20 17:27       ` Robert Rati
2003-02-20 17:35         ` Ion Badulescu
2003-02-20 17:48           ` Robert Rati
2003-02-20 18:22             ` Ion Badulescu
2003-02-20 21:27               ` Robert Rati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E5503F7.80809@motorola.com \
    --to=robert.rati@motorola.com \
    --cc=ionut@badula.org \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.