[NTLUG:Discuss] NFS Network File sharing between two linux machines

Patrick Parks patrick at patrickparks.com
Fri Aug 24 11:37:15 CDT 2001


    Me again, you guys getting sick of me yet? I have been working on
    getting NFS set up between two of my linux machines. I think I am
    really close, but have run into a snag. I can do a /usr/sbin/rpcinfo
    -p 65.xx.20.xx from my laptop to my server, and get the reply:
    

    program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp   1024  status
    100024    1   tcp   1024  status
    100011    1   udp   1014  rquotad
    100011    2   udp   1014  rquotad
    100005    1   udp   1025  mountd
    100005    1   tcp   1025  mountd
    100005    2   udp   1025  mountd
    100005    2   tcp   1025  mountd
    100005    3   udp   1025  mountd
    100005    3   tcp   1025  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp   1026  nlockmgr
    100021    3   udp   1026  nlockmgr
    100021    4   udp   1026  nlockmgr

ok, so nfs, mountd, rquotad and portmapper are there, so I should be
able to mount my exports right? Well, I cant, and I think it is because
nfs is running udp instead of TCP. This is just a guess, please correct
me if I am wrong. I am fairly confident that my /etc/hosts.deny and
/etc/hosts.allow are correct on both machines (I am using the IP instead
of computer name) and my /etc/exports is correct on the server. I have
the firewall temp-disabled on both machines for the time being (next
project Firewall Admin :) ). So my question is is it because nfs is
running udp instead of TCP and if that is the case, where do I go to
tell it to run TCP? I am doing this from the man pages and the linux how
to's and I do not see any references to where I can change this. 


           ,,,,
          (O O)
+oOO-------(_)-----------+
|     Patrick Parks      |
|  www.patrickparks.com  |
|patrick at patrickparks.com|
+---------------------oOO+
       |    |    |
        |__| |__|
         ||   ||
        ooO   Ooo



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ntlug.org/pipermail/discuss/attachments/20010824/853c9ff3/attachment.html


More information about the Discuss mailing list