NFSD under OpenBSD


 
Thread Tools Search this Thread
Operating Systems BSD NFSD under OpenBSD
Prev   Next
# 1  
Old 09-04-2012
NFSD under OpenBSD

Hi all,
I am having a following problem. Trying to run PXE boot server on my OpenBSD machine I have ended up on making NFSd daemon works. On all machines I get an error msg. nfsd[29613] : nfsd count is invalid: (null) no matter what computer I run it on. Everything works just well on FreeBSD and linux.
Thanks for any help
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Slackware

NFSd problem

Hi. Using debian 8.0 on a raspberryPI SERVER, accessing nfs from another raspberry gives quick reply. But from a slackware 14.1 SERVER on a Celeron 2Ghz dual core, is painfully slow and i cannot figure out why. Can anyone guide me? (2 Replies)
Discussion started by: dimples
2 Replies

2. HP-UX

NFSd command utilizing more cpu

Hi, I see following 'nfsd' command is using more CPU. Could someone please comment on it's pros and cons of it? CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND 5 ? 16890 root 152 20 34696K 12036K run 57166:48 856.13 854.64 nfsd OS -- HP-UX One... (4 Replies)
Discussion started by: Maddy123
4 Replies

3. AIX

portmap and nfsd

Hello, what is the relation between portmap and nfsd and how communication between them looks like. Does the nfsclient contact with the portmap or nfsd first. Many thanks in advance for helping me to understand this :) BR, p (3 Replies)
Discussion started by: pitmod
3 Replies

4. UNIX for Advanced & Expert Users

nfsd

Dear Friends, we are using HP-UX B.11.31 U ia64 HP-UX server. Can you check bellow the top command output whether can point out any abnormality. Becoz i suspect something wrong there, Load averages: 2.40, 2.73, 2.99 711 processes: 287 sleeping, 424 running Cpu states: CPU LOAD USER ... (4 Replies)
Discussion started by: Davinzy
4 Replies

5. BSD

openbsd-pf

hello , I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5. All I intend doing is to have two firewalling machine on a separate network : 192.168.1.1 ext_if = xl0 (dhcp) // Internet interface int_if=xl1 // Internatl interface ... (0 Replies)
Discussion started by: mattjam
0 Replies

6. BSD

Trying to get into OpenBSD

I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
Discussion started by: deckard
7 Replies

7. UNIX for Dummies Questions & Answers

don't have nfsd mount point in /proc/fs/nfsd

hi guys I installed NFS server and everything started out fine but I don't have /proc/fs/nfsd entry and so I can't mount nfsd. Therefore I can't start my nfs service. Why don't I have /proc/fs/nfsd? How do I create that? Thanks (1 Reply)
Discussion started by: alirezan
1 Replies

8. Solaris

nfsd won't start at boot up

Hi Inexplicably, nfsd no longer starts automatically on our Sun boxes running Solaris 9, so that 'automount' no longer functions automatically. The problem first manifested itself when we could not access files on any of the nfs automounted directories in our LAN after one of the servers (say... (19 Replies)
Discussion started by: dcshungu
19 Replies

9. BSD

openbsd : cannot login

hi OK. I don't know exactly what I did to system! The system is OpenBSD 3.5. It is 200MMX, 16MB ram 1.2 + 2.4 GB HDD. The system was running well. But a few days ago I try to unpack a big tar.gz file and the system uses most the cpu and ram for this. While the system unpacking the file I try to... (4 Replies)
Discussion started by: fnoyan
4 Replies

10. UNIX for Dummies Questions & Answers

please help with openbsd 2.9

Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)
Discussion started by: Blunt_Killer
11 Replies
Login or Register to Ask a Question
NFSD(8) 						    BSD System Manager's Manual 						   NFSD(8)

NAME
nfsd -- remote NFS server SYNOPSIS
nfsd [-arduteo] [-n num_servers] [-h bindip] [--maxthreads max_threads] [--minthreads min_threads] DESCRIPTION
The nfsd utility runs on a server machine to service NFS requests from client machines. At least one nfsd must be running for a machine to operate as a server. Unless otherwise specified, eight servers per CPU for UDP transport are started. The following options are available: -r Register the NFS service with rpcbind(8) without creating any servers. This option can be used along with the -u or -t options to re-register NFS if the rpcbind server is restarted. -d Unregister the NFS service with rpcbind(8) without creating any servers. -n threads Specifies how many servers to create. This option is equivalent to specifying --maxthreads and --minthreads with their respective arguments to threads. --maxthreads threads Specifies the maximum servers that will be kept around to service requests. --minthreads threads Specifies the minimum servers that will be kept around to service requests. -h bindip Specifies which IP address or hostname to bind to on the local host. This option is recommended when a host has multiple interfaces. Multiple -h options may be specified. -a Specifies that nfsd should bind to the wildcard IP address. This is the default if no -h options are given. It may also be speci- fied in addition to any -h options given. Note that NFS/UDP does not operate properly when bound to the wildcard IP address whether you use -a or do not use -h. -t Serve TCP NFS clients. -u Serve UDP NFS clients. -e The new NFS server that includes NFSv4 support is now the default, so this option is now a no-op and should be considered deprecated. -o Forces the use of the old NFS server that does not include NFSv4 support in it. 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 nfsd utility listens for service requests at the port indicated in the NFS server specification; see Network File System Protocol Specification, RFC1094, NFS: Network File System Version 3 Protocol Specification, RFC1813 and Network File System (NFS) Version 4 Protocol, RFC3530. If nfsd 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, nfsd will exit with an error. If nfsd 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. If the server has stopped servicing clients and has generated a console message like ``nfsd server cache flooded...'', the value for vfs.nfsd.tcphighwater needs to be increased. This should allow the server to again handle requests without a reboot. Also, you may want to consider decreasing the value for vfs.nfsd.tcpcachetimeo to several minutes (in seconds) instead of 12 hours when this occurs. Unfortunately making vfs.nfsd.tcphighwater too large can result in the mbuf limit being reached, as indicated by a console message like ``kern.ipc.nmbufs limit reached''. If you cannot find values of the above sysctl values that work, you can disable the DRC cache for TCP by setting vfs.nfsd.cachetcp to 0. The nfsd utility has to be terminated with SIGUSR1 and cannot be killed with SIGTERM or SIGQUIT. The nfsd utility needs to ignore these sig- nals 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 nfsd just do a ``kill -USR1 <PID of master nfsd>'' EXIT STATUS
The nfsd utility exits 0 on success, and >0 if an error occurs. SEE ALSO
nfsstat(1), kldload(2), nfssvc(2), nfsv4(4), exports(5), stablerestart(5), gssd(8), ipfw(8), mountd(8), nfsiod(8), nfsrevoke(8), nfsuserd(8), rpcbind(8) HISTORY
The nfsd utility first appeared in 4.4BSD. BUGS
If nfsd is started when gssd(8) is not running, it will service AUTH_SYS requests only. To fix the problem you must kill nfsd and then restart it, after the gssd(8) is running. BSD
January 1, 2015 BSD