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

Ahmed Kamal email.ahmedkamal at googlemail.com
Sat Aug 1 12:01:31 UTC 2015


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

On Sat, Aug 1, 2015 at 1:30 PM, Lev Serebryakov <lev at freebsd.org> wrote:

> Hello Rick,
>
> Saturday, August 1, 2015, 2:21:10 PM, you wrote:
>
> > To mount multiple file systems as one mount, you'll need to use NFSv4. I
> believe
> > you will have to have a separate export entry in the server for each of
> the file
> > systems.
>  So, /etc/exports needs to have BOTH v3-style exports & V4: root of tree
> line?
>
> --
> Best regards,
>  Lev                            mailto:lev at FreeBSD.org
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
>


More information about the freebsd-fs mailing list