Differences between revisions 6 and 7
Revision 6 as of 2013-05-05 21:28:51
Size: 1045
Comment: Some additional tips
Revision 7 as of 2013-09-16 00:18:22
Size: 0
Comment: moved content to [[Debian_GNU/kFreeBSD/Tips]]
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The NFS server on Wheezy GNU/kFreeBSD ([[http://packages.debian.org/nl/wheezy/freebsd-nfs-server|freebsd-nfs-server]]) refuses connections from Wheezy GNU/Linux clients when the NFS version is not specified. It defaults to NFS v4 and the server refuses the mount request.

The solution is to add the {{{-o vers=3}}} option to the mount command on the client, like this:
{{{$ sudo mount -t nfs -o vers=3 $SERVER_IP:/path/to/share /local/mount}}}

--( Make sure to append {{{-h 0.0.0.0}}} to the rpc.lockd arguments as well in its init file, as per [[DebianBug:664812]]. )-- fixed in wheezy!

Shutdown initscripts for NFS may be slow: see [[DebianBug:664812]]

If you are using e.g. an OpenELEC client, you will need to append enable TCP connections to nfsd. Without it, mounting the NFS shares on OpenELEC will not work (tested with OpenELEC 2.0). You can do that by creating an /etc/default/nfsd file containing:
DAEMON_ARGS="-t -u"

I also recommend the proto=tcp mount option on clients (which avoids path MTU issues, and more).