Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2015 14:01:09 +0200
From:      Ahmed Kamal <email.ahmedkamal@googlemail.com>
To:        lev@freebsd.org
Cc:        Rick Macklem <rmacklem@uoguelph.ca>, FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   Re: NFS & ZFS: how to export whole FS hierarhy to mount it with one command on client?
Message-ID:  <CANzjMX4g7k1YNFYdmA9noQmFkNTYdHMmRbmDiM4uC9FcFZhBiw@mail.gmail.com>
In-Reply-To: <1593307781.20150801143052@serebryakov.spb.ru>
References:  <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@FreeBSD.org
>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANzjMX4g7k1YNFYdmA9noQmFkNTYdHMmRbmDiM4uC9FcFZhBiw>