nfsd - remote NFS server
Unless otherwise specified, four servers for UDP transport are started.
The following options are available:
For example, ``nfsd -u -t -n 6 '' serves UDP and TCP transports using six daemons.
A server should run enough daemons to handle the maximum level of concurrency from its clients, typically four to six.
The utility listens for service requests at the port indicated in the NFS server specification; see "Network File System Protocol Specification" , RFC1094 and "NFS: Network File System Version 3 Protocol Specification" .
If detects that NFS is not loaded in the running kernel, it will attempt to load a loadable kernel module containing NFS support using kldload(2). If this fails, or no NFS KLD is available, will exit with an error.
If is to be run on a host with multiple interfaces or interface aliases, use of the -h option is recommended. If you do not use the option NFS may not respond to UDP packets from the same IP address they were sent to. Use of this option is also recommended when securing NFS exports on a firewalling machine such that the NFS sockets can only be accessed by the inside interface. The ipfw utility would then be used to block nfs-related packets that come in on the outside interface.
The utility has to be terminated with SIGUSR1 and cannot be killed with SIGTERM or SIGQUIT The utility needs to ignore these signals in order to stay alive as long as possible during a shutdown, otherwise loopback mounts will not be able to unmount. If you have to kill just do a ``kill -USR1 <PID of master nfsd> ''
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |