OpenBSD NFS Server with Linux Clients

From WTFwiki
Jump to: navigation, search

Just some notes from my experiences because this pissed me off for a number of hours:

When using OpenBSD as an NFS server with Linux clients (at least Ubuntu 8.10 up to 2.6.27), the following
options seem to work well:

 mount -t nfs -o noatime,intr,vers=2 server.example.com:/home


The main key there is to use *NFS VERSION 2*. (Yes, this still is broken, I guess.)

Without using NFSv2, write performance is excellent and read is absolutely abysmal, to the tune of
5MB/s write vs. 20kb/s read. I'm also using TCP since it works better on my routed links.