Date: Tue, 7 Sep 2010 14:23:58 -0700 From: David Brodbeck <gull@gull.us> To: freebsd-fs@freebsd.org Subject: Re: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem Message-ID: <AANLkTing%2BkrgQqXzWR9TGwWfQVmsbbNnMd2SACG1jK=7@mail.gmail.com> In-Reply-To: <20100905174901.GE1900@garage.freebsd.pl> References: <AANLkTikYbz_fxOF=8LjyJ9Ck6otCGn7GeeqnB48bDbM6@mail.gmail.com> <AANLkTi=DJA62jKgi5iyAcUjQ16VC07iFp%2BQUpXgbbhpD@mail.gmail.com> <4C812CEC.8080309@elischer.org> <AANLkTikD=4CPtfNN6CcezsLfrKS%2BT7CK0wP7TUw1j46H@mail.gmail.com> <4C814B9A.5030109@elischer.org> <20100905174901.GE1900@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 5, 2010 at 10:49 AM, Pawel Jakub Dawidek <pjd@freebsd.org> wrot= e: > On Fri, Sep 03, 2010 at 12:25:14PM -0700, Julian Elischer wrote: >> >I just grabbed it and slotted it into my VirtualBox test network. =A0I >> >need a little help getting nfs going, though. =A0I'm getting the >> >following error: >> > >> >KLD nfslockd.ko: depends on nfs - not available or version mismatch >> >KLD nfsd.ko: depends on nfslockd - not available or version mismatch >> >mountd: NFS server is not available >> > >> >Do I need to grab the source and build a new kernel with NFS enabled? >> >> you should be able to find a kernel module to do it.. >> maybe pjd has it lying around in his build tree, or maybe it's in >> /boot/kernel on the image? > > All needed kernel modules are there, I just tested it. I wanted to turn > off NFS server by default in the image itself, but forgot... > > Doing the following should be enough: > > =A0 =A0 =A0 =A0# touch /etc/exports > =A0 =A0 =A0 =A0# echo 'nfs_server_enable=3D"YES"' >> /etc/rc.conf > =A0 =A0 =A0 =A0# echo 'mountd_enable=3D"YES"' >> /etc/rc.conf > =A0 =A0 =A0 =A0# echo 'rpcbind_enable=3D"YES"' >> /etc/rc.conf > =A0 =A0 =A0 =A0# /etc/rc.d/rpcbind start > =A0 =A0 =A0 =A0# /etc/rc.d/nfsd start > =A0 =A0 =A0 =A0# /etc/rc.d/mountd start > =A0 =A0 =A0 =A0# zfs set sharenfs=3Don tank Thanks, Pawel. That works to get the NFSv3 server going, but I need to test against the NFSv4 experimental server. When I add 'nfsv4_server_enable=3D"YES"' to /etc/rc.conf, I get the errors mentioned earlier.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTing%2BkrgQqXzWR9TGwWfQVmsbbNnMd2SACG1jK=7>