NFS between Sun SP and Linux
Whenever I setup an NFS share, I always forget about portmap and run into trouble with errors such as:
Error. Cannot mount remote directory.
mount: RPC: Unable to receive; errno = Connection refused
So in addition to adding the necessary line in /etc/exports as follows:
/opt/solaris 192.168.x.x(rw,no_root_squash,no_subtree_check)
You also need to configure portmap to allow the connection, using /etc/hosts.allow:
portmap : ip_of_remote_machine ip_of_this_machine
Restart both services (nfs-kernel-server and portmap) using the appropriate init.d script or using the upstart scripts, and you should be ready to go.