NFSD(8) 1990 NFSD(8) NNAAMMEE nfsd - remote NFS server SSYYNNOOPPSSIISS nnffssdd [ --uu _m_s_k,_m_t_c_h,_n_u_m_p_r_o_c_s ] [ --tt _m_s_k,_m_t_c_h,_h_o_s_t_a_d_r_1,_h_o_s_t_a_d_r_2,... ] [ _n_u_m_p_r_o_c_s ] DDEESSCCRRIIPPTTIIOONN _N_f_s_d runs on a server machine to service NFS requests from client machines. At least one _n_f_s_d must be running for a machine to operate as a server. The options --uu and --tt are used to indicate which transport protocols are to be served. --uu Serve UDP NFS clients. --tt Serve TCP NFS clients. _m_s_k, _m_t_c_h These arguments permit restriction of NFS services to a subset of the host addresses. The _m_s_k and _m_t_c_h are applied to the client host address as follows: if (( _h_o_s_t__a_d_d_r_e_s_s & _m_s_k ) == _m_t_c_h ) - service the client request else - drop the request _h_o_s_t_a_d_r_1,... You may also specify zero or more specific host addresses to be accepted as well as ones that pass the _m_s_k, _m_t_c_h test above. This may only be done for tran- sport protocols that are connection based, such as TCP. For the internet domain, _m_s_k, _m_t_c_h and _h_o_s_t_a_d_r_s' are specified in internet _d_o_t notation. _n_u_m_p_r_o_c_s Specifies how many servers to fork off. This may only be specified for non-connection based protocols such as UDP. If neither -_u or -_t are specified, _n_u_m_p_r_o_c_s servers for UDP accepting requests from all clients are started. If _n_u_m_p_r_o_c_s is not specified, it defaults to 1. For example: nfsd -u 255.255.255.0,131.104.48.0,4 -t 255.255.0.0,131.104.0.0,131.102.31.2 - Serves UDP and TCP transports. For UDP, it runs 4 dae- mons that accept requests from any client on subnet 131.104.48. For TCP, it accepts connections from any Printed 7/27/90 June 1 NFSD(8) 1990 NFSD(8) client on network 131.104 plus the client with the address 131.102.31.2. nfsd -u 255.255.240.0,131.104.0.0,6 -t 0,0 - Serves UDP and TCP transports. For UDP, it runs 6 dae- mons that accept requests from clients with addresses in the range 131.104.0.x - 131.104.15.x. For TCP, it accepts connections from any client. nfsd -u 0,0,4 - Serves any UDP client with 4 servers, only. nfsd 4 - Serves any UDP client with 4 servers, only. (Compati- bility) A server should typically run enough daemons to handle the maximum level of concurrency from its clients, typically four to six. _N_f_s_d listens for service requests at the port indicated in the NFS server specification; see ``Network File System Pro- tocol Specification, RFC1094'' SSEEEE AALLSSOO _n_f_s_s_t_a_t(1), _n_f_s_s_v_c(2), _m_o_u_n_t_d(8), _p_o_r_t_m_a_p(8) BBUUGGSS The client host address restrictions specified here are unrelated to the mount restrictions specified in /etc/exports for _m_o_u_n_t_d(8). Printed 7/27/90 June 2