Date: Sat, 1 Aug 2015 15:07:09 +0200 From: Ahmed Kamal <email.ahmedkamal@googlemail.com> To: lev@freebsd.org Cc: Ahmed Kamal via 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: <CANzjMX4H2V5y7%2B%2BKxRYJfCe%2BrJDsT685u---3i0A1=LD0kOGpQ@mail.gmail.com> In-Reply-To: <1402689794.20150801150741@serebryakov.spb.ru> References: <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru> <CANzjMX4g7k1YNFYdmA9noQmFkNTYdHMmRbmDiM4uC9FcFZhBiw@mail.gmail.com> <1402689794.20150801150741@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Check this bug report https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147881 afaict, what you need is not really possible today .. Although this bug has a couple of patches that solve this limitation. No idea why no one picks up those gems and merges them :) On Sat, Aug 1, 2015 at 2:07 PM, Lev Serebryakov <lev@freebsd.org> wrote: > 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@FreeBSD.org > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANzjMX4H2V5y7%2B%2BKxRYJfCe%2BrJDsT685u---3i0A1=LD0kOGpQ>