NFS Notes - OpenBSD

/etc/rc.conf:
	nfs_server=NO # see sysctl.conf for nfs client configuration
/etc/sysctl.conf:
	vfs.nfs.iothreads=4 # number of nfsio kernel threads

rpcinfo -p servername
showmount -e servername
nfsstat

mkdir /mnt/netbsd
mount -o ro sunsite.org.uk:/public/packages/netbsd /mnt/netbsd

Turns out its an NFS version issue:

secure# rpcinfo -p quantum
program vers proto port
100005 2 udp 1029 mountd
100005 1 udp 1029 mountd
100003 2 udp 2049 nfs
150001 2 udp 951 pcnfsd

secure# rpcinfo -p sunsite.org.uk 
program vers proto port 
...Clip...
100003 2 udp 2049 nfs 
100003 3 udp 2049 nfs 
100227 2 udp 2049 
100227 3 udp 2049 
100227 2 tcp 2049 
100227 3 tcp 2049 

Notice that Sunsite reports version 3 and version 2 of nfs and the quantum only version 2.

It is my understanding that OpenBSD should try 3 and then 2, but it doesn't want to here.

The following forced version 2 and the connection worked:
mount_nfs -2 quantum:/sqlbackup /mnt/temp