NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client?

Lev Serebryakov lev at FreeBSD.org
Sat Aug 1 12:07:50 UTC 2015


Hello Ahmed,

Saturday, August 1, 2015, 3:01:09 PM, you wrote:

> My setup is
> # cat /etc/exports
> V4: / -sec=sys

> # zfs get sharenfs sitank/home
> NAME         PROPERTY  VALUE     SOURCE
> sitank/home  sharenfs  on        local

> and that's it .. All children zfs datasets under sitank/home inherit the
> sharenfs=on property and life works. The integration between zfs and
> sharing nfs is not too smooth .. so ensure it's the last step you do
 Problem is, I need different "maproot" and "ro/rw" options for different
networks. Looks like I need to mention each filesystem (for each network!)
manually in /etc/exports.

-- 
Best regards,
 Lev                            mailto:lev at FreeBSD.org



More information about the freebsd-fs mailing list