The best way is to ask the portmapper (example below):

[EMAIL PROTECTED] ~]$ rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp    921  status
    100024    1   tcp    928  status
    100007    2   udp   1000  ypbind
    100007    1   udp   1000  ypbind
    100007    2   tcp   1003  ypbind
    100007    1   tcp   1003  ypbind
    100011    1   udp    647  rquotad
    100011    2   udp    647  rquotad
    100011    1   tcp    669  rquotad
    100011    2   tcp    669  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32768  nlockmgr
    100021    3   udp  32768  nlockmgr
    100021    4   udp  32768  nlockmgr
    100021    1   tcp  32768  nlockmgr
    100021    3   tcp  32768  nlockmgr
    100021    4   tcp  32768  nlockmgr
    100005    1   udp    165  mountd
    100005    1   tcp    165  mountd
    100005    2   udp    165  mountd
    100005    2   tcp    165  mountd
    100005    3   udp    165  mountd
    100005    3   tcp    165  mountd
[EMAIL PROTECTED] ~]$

Look at the "nfs" service. It has udp and tcp. I also have protocol 2, 3, and 4 available to clients.

On Tue, 2 Aug 2005, Mark Knecht wrote:

Matthew, Michael and Richard,
  Thanks for the responses. They seem to outline the options pretty clearly.

  One question - once I get it converted and I think I'm running NFS
using tcp, how do I determine that I actually am?

Thanks,
Mark

On 8/2/05, Richard Fish <[EMAIL PROTECTED]> wrote:
Matthew Cline wrote:

On 8/2/05, Mark Knecht <[EMAIL PROTECTED]> wrote:


  From the MythTV-Users list I've seen people talking about using NFS
devices but recommending that they be set up with TCP instead of UDP.
So far I haven't yet found any Gentoo docs on how to do this.



IIRC, there is also a kernel config option that enables NFS over TCP,
which you need to enable on the server (maybe also client?).




You should also add 'tcp' to your mount options in fstab.  See 'man mount'.


-Richard


--
gentoo-user@gentoo.org mailing list





--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list

Reply via email to