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?
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@vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - "Daddy, why doesn't this magnet pick up this floppy disk?" - ----------------------------------------------------------------------
On Thu, 2004-09-30 at 19:26, Rick Stevens wrote:
The option is "port=", not "mountport=". The normal port to use is 2049.
Tried that. Its dying on trying to mount, not the nfsd port specification. If fact in using ethereal to sniff the handshake, it appears that mount is using UDP for portmap to determine the nfsd port to connect to. But it uses TCP only for the mountd determination and this is restricted in the router (TCP port 111 is blocked). I've tried "nfsvers=2" and "udp" with no luck. It appears that mount tries to access portmap and if it can't see it, assumes the server is dead... even if mountport is specified.
I'm beginning to think the only solution is to get the corporate security group to open up port 111.