configuring nfs - portmap failure

Brian D. McGrew brian at visionpro.com
Sat Feb 26 22:35:02 UTC 2005


I have the following entry in /etc/exports /dose 192.168.1.11(rw,
no_root_squash)
-----
NOTE the IP address in the /etc/exports file on the _server_ should be
the IP address of the _client_ that is authorized to connect.


mount -t nfs 192.168.1.11:/dose /mydose
-----
NOTE the IP address passed to the mount command should be the IP of the
_server_ that you're mounting from.

So if my server is 192.168.1.1 and my client is 192.168.1.2

The /etc/exports file on the server would look like:
/foo	192.168.1.2(rw, no_root_squash)

And the mount command on the client would be
Mount -t nfs 192.168.1.1:/foo /foo

I recommend using a naming service such as nis or dns and defining each
machine in the other machines hosts file so you can map by name.

Also, if you turn on the automounter (/etc/init.d/amd start) you'll be
able to soft mount (cd /net/server/foo) the filesystems once you have a
naming service or each machine defined in the others hosts file.




More information about the redhat-list mailing list