From owner-freebsd-net@FreeBSD.ORG Wed Oct 28 01:15:22 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23F331065696 for ; Wed, 28 Oct 2009 01:15:22 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from kennaway-macbookpro.config (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 408468FC15; Wed, 28 Oct 2009 01:15:21 +0000 (UTC) Message-ID: <4AE79B37.5010203@FreeBSD.org> Date: Wed, 28 Oct 2009 01:15:35 +0000 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: "Arno J. Klaassen" References: <00b301ca5739$8e9b3850$abd1a8f0$@org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Larry Rosenman Subject: Re: ZFS and 'traditional' nfs-export X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 01:15:22 -0000 Arno J. Klaassen wrote: > hello, > > "Larry Rosenman" writes: > >> ZFS makes its own version of the exports file. >> >> Just do it that way, and be safe. >> >> You can pass the full set of NFS options in the sharenfs parameter.... > > ah ok, I see. Thanks for answering. > > I got fooled by the man zfs(1M) example : > > zfs set sharenfs='rw=@123.123.0.0/16,root=neo' tank/home > > This syntax does not seem to work for me (8.0RC2). > Maybe an extra line could be added that one can just set > the sharenfs property to exactly the same character string > as in /etc/exports. Yeah that is the solaris notation -- various things in the manpages have not yet been customized for FreeBSD, which can be a bit confusing. The only limitation I've found in using sharenfs is that you can't specify multiple exports for the same filesystem, e.g. exporting to different hosts/networks with different options. The solaris notation above allows you to express this. Kris