Mag Gam on 9 Jul 2007 20:21:33 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] portmapper and NFS.

  • From: "Mag Gam" <magawake@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] portmapper and NFS.
  • Date: Mon, 9 Jul 2007 16:21:29 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=qzS46FQwUqvhAXuRj7jIPUQmqkxqH/+7AOG6aHHz53JKM3RQ/dVqUp8SMd8Oy09QSO1qrdJ0oQaFibDeu6I0gZzLcyeeBJh2VeOaP9tKgwVSg14EkGC8hctwKEQnL0+SlMzcAm9MA92GxlOhSQBS00pmuDk+wri+bVRZRs68KsQ=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

hehe, thanks for the explaining.
 
I guess I should now ask, why doesn't SAMBA need a RPC?


 
On 7/9/07, Stephen Gran <steve@lobefin.net> wrote:
On Sat, Jul 07, 2007 at 10:02:28AM -0400, Mag Gam said:
> I am trying to understand the technical details why we need portmapper(RPC)
> for NFS.
> I have been reading,  "http://en.wikipedia.org/wiki/Portmap"
>
> Does anyone know exactly what this service does, and the importance of it
> for NFS? I know NFSV4 does not need Portmapper, so why does NFS Version 3
> and 2 need it?

NFSv3 services by default does not listen on a regularly assigned port -
they ask the OS at startup for a random port, and then listen on it.
portmapper exists to translate RPC call requests into port numbers.
This way, when one machine needs to know how to do an RPC call to, fo
instance, figure out the files in a directory, the application talks to
portmapper, which figures out what port the relevant service is on, and
then network traffic can happen.  It does seem a bit arcane to me as
well.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | If it were not for the presents, an     |
|  steve@lobefin.net             | elopement would be preferable.   --     |
|   http://www.lobefin.net/~steve | George Ade, "Forty Modern Fables"       |
--------------------------------------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGkhjDSYIMHOpZA44RApU+AJ9gaUAgmJoSJHefRftRaUWDyi6JgwCgu7hS
+uaated0YanmEwO8ncTMCXY=
=st2x
-----END PGP SIGNATURE-----

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug