RE: configuring nfs - portmap failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux