From owner-freebsd-stable@FreeBSD.ORG Tue Mar 23 04:42:06 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D5CD106566C for ; Tue, 23 Mar 2010 04:42:06 +0000 (UTC) (envelope-from spork@bway.net) Received: from xena.bway.net (xena.bway.net [216.220.96.26]) by mx1.freebsd.org (Postfix) with ESMTP id 646688FC15 for ; Tue, 23 Mar 2010 04:42:06 +0000 (UTC) Received: (qmail 2829 invoked by uid 0); 23 Mar 2010 04:42:05 -0000 Received: from unknown (HELO ?10.3.2.40?) (spork@bway.net@96.57.144.66) by smtp.bway.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Mar 2010 04:42:05 -0000 Date: Tue, 23 Mar 2010 00:42:03 -0400 (EDT) From: Charles Sprickman X-X-Sender: spork@charles-sprickmans-imac.local To: Willem Jan Withagen In-Reply-To: <4BA4BC82.3020606@digiware.nl> Message-ID: References: <4BA08FA8.5000902@omnilan.de> <585602e11003170127t669ebe04k752bc4383f3fde22@mail.gmail.com> <4BA3FF91.7090903@digiware.nl> <4BA4BC82.3020606@digiware.nl> User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Matthias Gamsjager , FreeBSD Stable Users Subject: Re: Does zfs have it's own nfs server? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 04:42:06 -0000 On Sat, 20 Mar 2010, Willem Jan Withagen wrote: > On 20-3-2010 0:50, Charles Sprickman wrote: >> Just wondering, is this using the base nfsd/mountd, or is there some >> in-kernel nfs code strictly for zfs? I haven't found much info on the >> share* options in the manpage or wiki. > > There's also the complete ZFS manual you should read: > http://dlc.sun.com/pdf/819-5461/819-5461.pdf Anyone know how to tie the version of that document to the current version that's in FreeBSD? Overall, it's a great reference. Already answered a number of questions. Here's another Sun doc that I used to get started: http://hub.opensolaris.org/bin/download/Community+Group+zfs/demos/zfsdemo.pdf It looks like it's for sales engineers who are going to do a demo of ZFS, however it works quite well as a quick-start. It describes the basic concepts well and walks you through creating some pools. It's hands-down my favorite "Intro to ZFS" doc that I've found so far. Thanks, Charles > It's for Solaris, so perhaps not everything works on FreeBSD. But most of it > will. > >> Could you give an example of passing options that would say, limit to a >> subnet and map root to root using the zfs sharenfs command? > > Something like this: (Email might wrap the line) > zfs set sharenfs='-alldirs -maproot=0 -network 192.168.10.0 -mask > 255.255.255.0' zfsdata/home/wjw > > to export /home/wjw which is available as /zfsdata/home/wjw in ZFS. > > All the zfs does is add this to the /etc/zfs/exports file. > And then the regular mountd/nfsd combo does the NDS-service. > > --WjW > > > >