Date: Sat, 21 Feb 2015 11:50:55 -0700 From: "Russell L. Carter" <rcarter@pinyon.org> To: freebsd-fs@freebsd.org Subject: Re: The magic of ZFS and NFS (2nd try) Message-ID: <54E8D38F.9090608@pinyon.org> In-Reply-To: <D07A3E61-1871-48C0-B4AB-0EA1E994A4FC@ixsystems.com> References: <4257601.p3oiXZFr4n@falbala.rz1.convenimus.net> <C2F282EB-FA11-4676-93E0-68112EB03A1D@ultra-secure.de> <12103095.viZFqgegqA@falbala.rz1.convenimus.net> <D07A3E61-1871-48C0-B4AB-0EA1E994A4FC@ixsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02/21/15 11:23, Jordan Hubbard wrote: > >> On Feb 21, 2015, at 9:36 AM, Christian Baer >> <christian.baer@uni-dortmund.de> wrote: >> >> But why shouldn't I use /etc/exports? I have read people writing >> this (don't use /etc/exports) in forums when searching for answers, >> however the current manpage for zfs says this: > > FreeNAS has more experience with sharing things from ZFS than anyone > else in the BSD community (that’s not hyperbole, it’s simply > fact). We don’t use any of the zfs sharing flags. Those were > intended more for Solaris (sharesmb, for example - FreeBSD lets you > do that, but what does it *mean* when you don’t have a native CIFS > service?). FreeBSD has never integrated ZFS’s notion of sharing > or, for that matter, a number of other things like drive hot sparing > and automatic replacement, and you’re seeing the results of ZFS’s > solaris roots still not lining up 100% with their new FreeBSD home. > That’s all. > > I would simplify things, just as FreeNAS has (for good reasons), and > simply have ZFS be “a filesystem” from FreeBSD’s perspective > and share it just as you would UFS. When I was working out my own mounts, it seemed that sharenfs=on was required to make them work, but I just checked and indeed I can mount a zfs file system over NFS4.1 without it. So I would definitely agree about not complicating things. Having both sharenfs and sharesmb *seem* to work does complicate figuring out how to make NFS work if you don't already know this, though. Back to Christian's problem, I don't see nfsv4_server_enable="YES" in your rc.conf lines. I have it in mine, and NFSv4 works. See man(4) nfsv4. You might have a look at /var/log/messages after restarting nfsd. Russell > > - Jordan > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, > send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E8D38F.9090608>