# yum install nfs-utils
portmap
2. Edit the
/etc/exports to setup the shared director.
Syntax:
syn - Set to synchronous
rw - set shared directory to be writable by the client server
# vim /etc/exports
/opt/nfstest 192.168.10.143(rw,sync)
Some Issues:
Error when mounting the shared directory to the client.
mount: mount to NFS server '192.168.10.190' failed: timed out (retrying).
Solution:
This issues when the server having firewall.
Execute the command:
# rpcinfo -p localhost
The comnand will display the the port that is using.
The port that use by portmaper, nfs, nlockmngr, mountd and status. Also you need sure that you open the port both tcp and udp.
No comments:
Post a Comment