Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sun Sep 5 17:49:22 UTC 2010
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. I
> >need a little help getting nfs going, though. I'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:
# touch /etc/exports
# echo 'nfs_server_enable="YES"' >> /etc/rc.conf
# echo 'mountd_enable="YES"' >> /etc/rc.conf
# echo 'rpcbind_enable="YES"' >> /etc/rc.conf
# /etc/rc.d/rpcbind start
# /etc/rc.d/nfsd start
# /etc/rc.d/mountd start
# zfs set sharenfs=on tank
--
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100905/be21fd5a/attachment.pgp
More information about the freebsd-fs
mailing list