From owner-freebsd-fs@FreeBSD.ORG Sun Sep 5 17:49:21 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2C0610656A6 for ; Sun, 5 Sep 2010 17:49:21 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 8A78D8FC0A for ; Sun, 5 Sep 2010 17:49:21 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9E64745CA0; Sun, 5 Sep 2010 19:49:19 +0200 (CEST) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 8AD6345684; Sun, 5 Sep 2010 19:49:14 +0200 (CEST) Date: Sun, 5 Sep 2010 19:49:01 +0200 From: Pawel Jakub Dawidek To: Julian Elischer Message-ID: <20100905174901.GE1900@garage.freebsd.pl> References: <4C812CEC.8080309@elischer.org> <4C814B9A.5030109@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DEueqSqTbz/jWVG1" Content-Disposition: inline In-Reply-To: <4C814B9A.5030109@elischer.org> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: Weird Linux - FreeBSD/ZFS NFSv4 interoperability problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 17:49:22 -0000 --DEueqSqTbz/jWVG1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? >=20 > 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=20 > /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=3D"YES"' >> /etc/rc.conf # echo 'mountd_enable=3D"YES"' >> /etc/rc.conf # echo 'rpcbind_enable=3D"YES"' >> /etc/rc.conf # /etc/rc.d/rpcbind start # /etc/rc.d/nfsd start # /etc/rc.d/mountd start # zfs set sharenfs=3Don tank --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --DEueqSqTbz/jWVG1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkyD2A0ACgkQForvXbEpPzS4uACfUjf0Ba96u5ZyWAqTOq/zaJFu f9UAoJFSp3t9QFTQb+9VgqEu7YcGhNfE =gC5o -----END PGP SIGNATURE----- --DEueqSqTbz/jWVG1--