nfsv3 vs nfsv4 ? advantages of moving to v4?

Jeremy Chadwick jdc at koitsu.org
Sun Apr 28 14:58:07 UTC 2013


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 at koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |


More information about the freebsd-fs mailing list