[NTLUG:Discuss] NFS Network File sharing between two linux machines
Greg Edwards
greg at nas-inet.com
Fri Aug 24 16:42:23 CDT 2001
Patrick Parks wrote:
>
> 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.
Did you restart nfs after you updated /etc/exports?
Did you add a mount point to the other end?
There are 3 ways to do an NFS mount point. Manually from the command
line, /etc/fstab either auto or manual, and with an automounter. I
always use autofs personally. I don't like to use /etc/fstab because it
causes hassels in your sequence of booting systems that share mounts.
Be careful where you put your mount points. If you place an NFS mount
point in a normal search path then you slow down your program launch
process since the search will span the networked drives.
--
Greg Edwards
New Age Software, Inc.
http://www.nas-inet.com
More information about the Discuss
mailing list