From owner-freebsd-current@FreeBSD.ORG Thu Nov 5 23:33:26 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66C10106566C for ; Thu, 5 Nov 2009 23:33:26 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-px0-f190.google.com (mail-px0-f190.google.com [209.85.216.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4CA8FC1C for ; Thu, 5 Nov 2009 23:33:25 +0000 (UTC) Received: by pxi28 with SMTP id 28so327177pxi.7 for ; Thu, 05 Nov 2009 15:33:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=pPdU2m57Sgmqb4CpajEvjDz0bYp84TrJ0JtKOSK1Xjg=; b=DuTG90rjUmJZWAukif5N3RGOOVxo60Cm+wJjRRfsJy14SJ8JGVw6P1yqr88eBxVUza psqvR6XcA1/WrgVZiQe+PdLbrHI96pyBgiYPBY1l9A7UmQQLgg2mzdkJPKy5jPUDcRLi ZiHPtzbYMRc9lSZI2YcX9CJZU50Tu+MhBQgEo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=W13WuCQFJByI3OCbM31Nv3OhbNKN/GxiOzIcXn020F4LT4D6bOvS5OMysgQ2ESaapC PkIOIcvQ/E2zexUgirFg/3Dg/f3DcWmiiBatAn6Kx37f5FzRvwNLG1723nWjDdha4D7P 5DQ7u38UON6Yc9sn6TEQhgpnq3hsUcE9u81wM= MIME-Version: 1.0 Received: by 10.142.247.6 with SMTP id u6mr383321wfh.181.1257464005561; Thu, 05 Nov 2009 15:33:25 -0800 (PST) In-Reply-To: References: <17E3C299-725B-434E-805D-CA0C1EA9C8B9@via.net> <9e20d71e0911042247n216e9b02t7b317a55a9bbe131@mail.gmail.com> <11167f520911050019k17137f3q6e36614e2178b12d@mail.gmail.com> Date: Thu, 5 Nov 2009 15:33:25 -0800 Message-ID: From: Freddie Cash To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: What is the state of ZFS on FreeBSD? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 23:33:26 -0000 On Thu, Nov 5, 2009 at 3:17 PM, krad wrote: > 2009/11/5 Freddie Cash >> The syntax is the same. Anything you can put into /etc/exports you >> can put into the sharenfs property. In fact, behind the scenes, the >> sharenfs property is just copied into a private exports file, and the >> nfs daemon uses that in addition to /etc/exports. >> >> The man pages for ZFS are just dumps of the Solaris ones, so a lot of >> the info is not quite right for a FreeBSD system. > > unless im missing something you have to do it the legacy way > > (root@carrera)-(23:13:05)-(~) 0 > $ zfs set sharenfs=yes zdump/web > (root@carrera)-(23:13:23)-(~) 0 > $ showmount -e 127.0.0.1 > Exports list on 127.0.0.1: > /videos Everyone > (root@carrera)-(23:13:26)-(~) 0 > $ Put the settings you would normally put into /etc/exports into the sharenfs property: [fcash@megadrive ~]$ zfs get sharenfs storage/backup NAME PROPERTY VALUE SOURCE storage/backup sharenfs -maproot=root 192.168.0.12 local [fcash@megadrive ~]$ showmount -e Exports list on localhost: /storage/backup 192.168.0.12 -- Freddie Cash fjwcash@gmail.com