Date: Mon, 23 Feb 2015 08:27:27 -0800 From: Freddie Cash <fjwcash@gmail.com> To: Christian Baer <christian.baer@uni-dortmund.de> Cc: FreeBSD Filesystems <freebsd-fs@freebsd.org> Subject: Re: The magic of ZFS and NFS (2nd try) Message-ID: <CAOjFWZ5q-QVLkHu%2B=FY8USQUc0hG=jp8fiHO8=Ch28cV6o=%2BDg@mail.gmail.com> In-Reply-To: <13471232.xpn8XerdpW@falbala.rz1.convenimus.net> 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> <C64FC95C-D98B-4EAF-83CC-E443B56B38B2@ultra-secure.de> <13471232.xpn8XerdpW@falbala.rz1.convenimus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 23, 2015 at 4:30 AM, Christian Baer < christian.baer@uni-dortmund.de> wrote: > Rainer Duffner wrote: > > > These lines get written into /etc/zfs/exports > > > > I like it that way because if a filesystem is destroyed, I don=E2=80=99= t have to > > remember removing it from /etc/exports. > > > > I also admit I=E2=80=99m heavily influenced by Solaris on this particul= ar > setting=E2=80=A6 > > I didn't come from Solaris and I wasn't a big fan of it during my time at > university. It wasn't the really a problem with the OS itself but with th= e > userland which really sucked rocks at the time. We are talking SunOS 5.8 > here. > > I am guessing that in the future, ZFS will be far more important and UFS > will become more and more exotic. Then it would be fine to config > everything > the ZFS-way. But currently, it seems pretty dumb to have to go through a > case list like: > > =E2=80=8BYou don't. All NFS-related configuration stuff goes into /etc/exp= orts by default. Including ZFS stuff. Just treat ZFS like any other filesystem when it comes to NFS, and configure it just like any other filesystem. If, and only if, you want to play with the ZFS property "sharenfs", then you can. You aren't required to (and probably shouldn't as the syntax will be different for every OS and may cause issues with replication to other pools). If you do, then anything you put into that property will be automatically copied into /etc/zfs/exports. You should never be manually editing /etc/zfs/exports, as any manual changes you make will be lost the next time you edit any "sharenfs" property on any ZFS filesystem. --=20 Freddie Cash fjwcash@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ5q-QVLkHu%2B=FY8USQUc0hG=jp8fiHO8=Ch28cV6o=%2BDg>