OpenSolaris 20050909 - Build 22 - NFS port binding default.
In Solaris Nevada build number 22; aka OpenSolaris-20050909 the default for the NFS client is to use a non reserved port for the connection to the server.
If the server should require the use of a reserved port the default may be changed by setting the value of clnt_cots_do_bindresvport (for TCP) to 1 and clnt_clts_do_bindresvport for UDP.
Great, now how exactly do you do that ?
For a quick fix on a running system (as the root user) we can use MDB like this:
# echo "clnt_cots_do_bindresvport/W 1" | mdb -kw
if this proves to work and you want to make this permanent then we need to add an entry to /etc/system. When adding to /etc/system you will need to know in which module clnt_cots_do_bindresvport resides. Again using mdb we can do this:
# echo "clnt_cots_do_bindresvport::whatis" | mdb -k 7024045c is clnt_cots_do_bindresvport+0 in rpcmod's data segment
so adding the following to /etc/system will set the value on reboot:
set rpcmod:clnt_cots_do_bindresvport=1
See also: This NFS thread
Technorati Tags:
OpenSolaris
Solaris
nfs
[posted with ecto]
Posted by macrbg [NFS] ( September 25, 2005 03:30 PM ) Permalink | Comments[2]

Posted by Dan Price on September 25, 2005 at 09:39 PM CDT #
Posted by Robert Gordon. on September 25, 2005 at 10:14 PM CDT #