Date: Sat, 1 Aug 2015 15:07:41 +0300 From: Lev Serebryakov <lev@FreeBSD.org> To: 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: <1402689794.20150801150741@serebryakov.spb.ru> In-Reply-To: <CANzjMX4g7k1YNFYdmA9noQmFkNTYdHMmRbmDiM4uC9FcFZhBiw@mail.gmail.com> References: <795246861.20150801140429@serebryakov.spb.ru> <1363497421.7238055.1438428070047.JavaMail.zimbra@uoguelph.ca> <1593307781.20150801143052@serebryakov.spb.ru> <CANzjMX4g7k1YNFYdmA9noQmFkNTYdHMmRbmDiM4uC9FcFZhBiw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?1402689794.20150801150741>