NFS mounting... bypass portmap

Rick Stevens rstevens at vitalstream.com
Thu Sep 30 23:26:28 UTC 2004


Dan Vietor wrote:
> I am trying to mount a NFS partition across a router that has port 111
> (TCP) blocked.  In Fedora 1 and other RedHat releases, I could use the
> mountport=### in the mount options to bypass portmap and mount the
> partition.  In Fedora 2, this option seems to be disabled. 
> 
> When I use ethereal to check what's going on, I see a TCP request to
> sunrpc (port 111 or portmap) and a return from the router "ICMP no route
> to host" and then the mount fails.  It actually backgrounds the mount
> process and hangs there.
> 
> Is there any way with the FC2 mount command to bypass the portmapper and
> specify the port that mountd is running on so I can mount the partition?
> 

The option is "port=", not "mountport=".  The normal port to use is
2049.

See "man nfs" for details.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-     "Daddy, why doesn't this magnet pick up this floppy disk?"     -
----------------------------------------------------------------------




More information about the users mailing list