[rhn-users] NFS over TCP

Charith Perera cperera at intertechmedia.com
Mon Oct 18 22:36:40 UTC 2004


Yeah I saw that. But if you do a "rpcinfo -p" on the server I get the 
following:

  program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32768  status
    100021    1   udp  32769  nlockmgr
    100021    3   udp  32769  nlockmgr
    100021    4   udp  32769  nlockmgr
    391002    2   tcp  35414  sgi_fam
    100011    1   udp    847  rquotad
    100011    2   udp    847  rquotad
    100011    1   tcp    850  rquotad
    100011    2   tcp    850  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100005    1   udp  45112  mountd
    100005    1   tcp  35691  mountd
    100005    2   udp  45112  mountd
    100005    2   tcp  35691  mountd
    100005    3   udp  45112  mountd
    100005    3   tcp  35691  mountd

As you can see, nfs is listenering only on UDP, and not TCP. So I assume that 
this means the server is only serving UDP connections. Am I wrong?

Charith.


On Monday 18 October 2004 2:04 pm, Doerbeck, Christoph wrote:
> If I'm not mistaken, it's a mount option
>
> ex:
>
>  /mnt/apps fooserver:/export/apps nfs
> rsize=8192,wsize=8192,tcp
>
> for more info on RHEL: man 5 nfs
>
> Christoph
>
>
> -----Original Message-----
> From: Charith Perera [mailto:cperera at intertechmedia.com]
> Sent: Monday, October 18, 2004 1:00 PM
> To: rhn-users at redhat.com
> Subject: [rhn-users] NFS over TCP
>
>
> Does anyone know how to start the NFS server so that it listens using
> TCP
> instead of UDP? I'm trying to use port forwarding in SSH to allow a
> remote
> machine to mount an exported filesystem. However, SSH port forwarding
> only
> works with TCP, and my understanding is that it won't work out of the
> box
> with NFS because the NFS server uses UDP by default.
>
> So any idea how to make the NFS server listen over TCP?
>
> Thanks,
>
> Charith Perera
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users




More information about the rhn-users mailing list