Date: Sun, 28 Apr 2013 19:10:03 +0200 From: =?ISO-8859-1?Q?Olav_Gr=F8n=E5s_Gjerde?= <olavgg@gmail.com> To: Jeremy Chadwick <jdc@koitsu.org> Cc: freebsd-fs@freebsd.org Subject: Re: nfsv3 vs nfsv4 ? advantages of moving to v4? Message-ID: <CALL7tK9iJG16doPS7MU55Bm-RURd6jXDmU_8uQkYTKKF3qWkRQ@mail.gmail.com> In-Reply-To: <20130428145805.GA81766@icarus.home.lan> References: <CALL7tK8Fvy-pLvp3uiONwS1ynqT%2B7-633X2Mx5AvjpM7mH2imQ@mail.gmail.com> <20130428145805.GA81766@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
If you have three ZFS filesystems: tank tank/backup tank/home And if you export /tank with nfsv3, you don't really export /tank/backup and /tank/home. You only export the folders, but not it's content I think it has to do with that you cannot export mounted filesystems within one exported filesystem. With nfsv4 you will with only one export of /tank, export all three, including /tank/backup and /tank/home This was an issue 18 months ago, I cannot confirm if it's still an issue. On Sun, Apr 28, 2013 at 4:58 PM, Jeremy Chadwick <jdc@koitsu.org> wrote: > On Sun, Apr 28, 2013 at 04:53:53PM +0200, Olav Grns Gjerde wrote: > > The main reason I moved to nfsv4 was that I could export multiple ZFS > > filesystem with just one export. With nsfv3 I could only export one ZFS > > filesystem per export. > > When you say "one/per export", what exactly do you mean? > > For exporting ZFS filesystems via NFS, I've always used /etc/exports. > I've never used the "share" property per ZFS filesystem, because in my > experience (at the time -- this was early days of ZFS on FreeBSD) it > just flat out didn't work. Using /etc/exports always worked for me. > > I always liked having all my exported filesystems in one place > (/etc/exports), versus UFS ones in /etc/exports + ZFS ones requiring me > to use "zfs get ..." and so on. > > Does it really bother you that much to have multiple lines in > /etc/exports (using NFSv3)? > > -- > | Jeremy Chadwick jdc@koitsu.org | > | UNIX Systems Administrator http://jdc.koitsu.org/ | > | Mountain View, CA, US | > | Making life hard for others since 1977. PGP 4BD6C0CB | >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALL7tK9iJG16doPS7MU55Bm-RURd6jXDmU_8uQkYTKKF3qWkRQ>