Date: Tue, 23 Mar 2010 00:42:03 -0400 (EDT) From: Charles Sprickman <spork@bway.net> To: Willem Jan Withagen <wjw@digiware.nl> Cc: Matthias Gamsjager <mgamsjager@gmail.com>, FreeBSD Stable Users <freebsd-stable@freebsd.org> Subject: Re: Does zfs have it's own nfs server? Message-ID: <alpine.OSX.2.00.1003230039170.3110@charles-sprickmans-imac.local> In-Reply-To: <4BA4BC82.3020606@digiware.nl> References: <4BA08FA8.5000902@omnilan.de> <585602e11003170127t669ebe04k752bc4383f3fde22@mail.gmail.com> <4BA3FF91.7090903@digiware.nl> <alpine.OSX.2.00.1003191948260.3110@charles-sprickmans-imac.local> <4BA4BC82.3020606@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.OSX.2.00.1003230039170.3110>