MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                           nfsd(1M)



NAME
     nfsd - NFS daemon

SYNOPSIS
     /usr/lib/nfs/nfsd [-a] [-c #conn] [-l listenbacklog]
          [-p protocol] [-t device] [nservers]


DESCRIPTION
     nfsd is the daemon that handles client file system requests.
     Only  users with {PRIVSYSNFS} and sufficient privileges to
     write to /var/run can run this daemon.


     The nfsd daemon is  automatically  invoked  using  share(1M)
     with the -a option.


     By default, nfsd starts over the TCP and UDP transports  for
     versions  2  and  3.  By default, it starts over the TCP for
     version 4. You can change this with the -p option.


     A previously invoked nfsd daemon  started  with  or  without
     options  must  be  stopped before invoking another nfsd com-
     mand.


     To change startup parameters for nfsd, use the  sharectl(1M)
     and sharemgr(1M) commands.

OPTIONS
     The following options are supported:

     -a             Start a NFS daemon over all available connec-
                    tionless  and connection-oriented transports,
                    including UDP and TCP. Equivalent of  setting
                    the NFSDPROTOCOL parameter to AL in the nfs
                    file.


     -c #conn      This sets the maximum number  of  connections
                    allowed  to  the  NFS server over connection-
                    oriented transports. By default,  the  number
                    of  connections  is  unlimited. Equivalent of
                    the NFSDMAXCONECTIONS parameter in the nfs
                    file.


     -l             Set connection queue length for the  NFS  TCP
                    over  a  connection-oriented  transport.  The
                    default value is 32  entries.  Equivalent  of



SunOS 5.11          Last change: 22 Jul 2008                    1






System Administration Commands                           nfsd(1M)



                    the  NFSDLISTENBACKLOG parameter in the nfs
                    file.


     -p protocol    Start a NFS daemon over the specified  proto-
                    col.  Equivalent of the NFSDPROTOCOL parame-
                    ter in the nfs file.


     -t device      Start a NFS daemon for the  transport  speci-
                    fied  by  the given device. Equivalent of the
                    NFSDEVICE parameter in the nfs file.


OPERANDS
     The following operands are supported:

     nservers    This sets the maximum number of  concurrent  NFS
                 requests  that  the server can handle. This con-
                 currency is achieved by up to  nservers  threads
                 created as needed in the kernel. nservers should
                 be based on the load expected on this server. 16
                 is  the usual number of nservers. If nservers is
                 not specified, the maximum number of  concurrent
                 NFS  requests  will  default to 1. Equivalent of
                 the NFSDSERVERS parameter in the nfs file.


USAGE
     If the NFSPORTMON variable  is  set  in  /etc/system,  then
     clients  are  required  to  use  privileged  ports  (ports <
     IPORTRESERVED) to get NFS services. This variable is equal
     to  zero  by  default. This variable has been moved from the
     "nfs" module to the "nfssrv" module. To  set  the  variable,
     edit the /etc/system file and add this entry:


     set nfssrv:nfsportmon = 1

EXIT STATUS
     0    Daemon started successfully.


     1    Daemon failed to start.


FILES
     .nfsX                 Client machine pointer to  an  open-
                             but-unlinked file.






SunOS 5.11          Last change: 22 Jul 2008                    2






System Administration Commands                           nfsd(1M)



     /etc/default/nfs        Contains  startup   parameters   for
                             nfsd.


     /etc/system             System   configuration   information
                             file.


     /var/nfs/v4state       Directories used by  the  server  to
     /var/nfs/v4oldstate    manage   client  state  information.
                             These  directories  should  not   be
                             removed.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWnfssu                   
    


SEE ALSO
     ps(1),   svcs(1),   mountd(1M),   share(1M),   sharectl(1M),
     sharemgr(1M),  svcadm(1M),  nfs(4),  sharetab(4), system(4),
     attributes(5), smf(5)


NOTES
     Manually starting and restarting nfsd is not recommended. If
     it  is  necessary  to do so, use svcadm to enable or disable
     the nfs service (svc:/network/nfs/server).  If  it  is  dis-
     abled,  it  will  be  enabled  by  sharenfs(1M), unless its
     application/autoenable property is set to false. See the  ,
     and svcadm(1M) for more information.


     The nfsd service is managed by the service management facil-
     ity, smf(5), under the service identifier:

       svc:/network/nfs/server




     Administrative actions on this service,  such  as  enabling,
     disabling,  or  requesting  restart,  can be performed using



SunOS 5.11          Last change: 22 Jul 2008                    3






System Administration Commands                           nfsd(1M)



     svcadm(1M). The service's status can be  queried  using  the
     svcs(1) command.


     If nfsd is killed with SIGTERM, it will not be restarted  by
     the  service  management facility. Instead, nfsd can be res-
     tarted by other signals, such as SIGINT.
















































SunOS 5.11          Last change: 22 Jul 2008                    4



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™