Date: Tue, 4 Mar 2008 20:38:28 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Michael Jung" <mikej@paymentallianceintl.com> Cc: Pawel Jakub Dawidek <pjd@freebsd.org>, Dmitry Morozovsky <marck@rinet.ru>, current@freebsd.org Subject: Re: ZFS sharenfs and NFS options Message-ID: <790a9fff0803041838m2e9e124fnfc2560fde62f0e08@mail.gmail.com> In-Reply-To: <ADC733B130BF1D4A82795B6B3A2654E2A49091@exchange.paymentallianceintl.com> References: <20080304233327.B19039@woozle.rinet.ru> <ADC733B130BF1D4A82795B6B3A2654E2A49091@exchange.paymentallianceintl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/4/08, Michael Jung <mikej@paymentallianceintl.com> wrote: > Just like any other exported file system is working for me - I have not > used it extensively though: > > (root@zega) /usr/ports/net/nxserver# mount -t zfs > tank on /tank (zfs, local) > tank/export1 on /export1 (zfs, NFS exported, local) > (root@zega) /usr/ports/net/nxserver# > > /etc/exports contains: > > /export1 -maproot=root -alldirs -network 10.0.0.3 -mask > 255.255.255.255 > > --mikej > > > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Dmitry > Morozovsky > Sent: Tuesday, March 04, 2008 3:37 PM > To: current@freebsd.org > Cc: Pawel Jakub Dawidek > Subject: ZFS sharenfs and NFS options > > Dear colleagues, > > what is a way to specify NFS options, such as -maproot and -network, on > an ZFS > filesystem? Man page is almost quiet about it, and my quick experiments > did not > show any success... > > I suppose, it should be documented a bit more... > It is documented in the zfs(1M) man page. zfs set sharenfs="-maproot=root -alldir -network 10.0.0.3 -mask 255.255.255.255" myzpool/test cat /etc/zfs/exports # !!! DO NOT EDIT THIS FILE MANUALLY !!! /myzpool/test -maproot=root -alldir -network 10.0.0.3 -mask 255.255.255.255 Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0803041838m2e9e124fnfc2560fde62f0e08>