Date: Tue, 18 Aug 2020 09:19:45 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-fs@freebsd.org Subject: Re: nested zfs datasets and NFS4 Message-ID: <06bf3020-a8b1-8754-7a76-a34086fc1e6b@freebsd.org> In-Reply-To: <20200818091643.7yur2ix52z7kppea@x1> References: <20200818091643.7yur2ix52z7kppea@x1>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KVxkAYuKhQAuy65ELZS1OB6n5i0wxyKog Content-Type: multipart/mixed; boundary="2wUdgpzT4myiXziywWQBGe5j1Z1YBhhu4"; protected-headers="v1" From: Allan Jude <allanjude@freebsd.org> To: freebsd-fs@freebsd.org Message-ID: <06bf3020-a8b1-8754-7a76-a34086fc1e6b@freebsd.org> Subject: Re: nested zfs datasets and NFS4 References: <20200818091643.7yur2ix52z7kppea@x1> In-Reply-To: <20200818091643.7yur2ix52z7kppea@x1> --2wUdgpzT4myiXziywWQBGe5j1Z1YBhhu4 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020-08-18 05:16, Julien Cigar wrote: > Hello, >=20 > With the following configuration (1) I don't understand why do I have > access to /usr/jails/j_www1/filer/webapps/phegea as it is not mounted..= ? > I thought that with nested ZFS datasets each dataset should be exported= > and mounted explicitely .. >=20 > (1): https://gist.githubusercontent.com/silenius/2f4e1418d77074d610996b= 0977776f18/raw/2cb2e5d0bb7ebd9c8e69d6c14245c41051c11bf5/gistfile1.txt >=20 > any idea? >=20 > Thanks, > Julien >=20 >=20 Are you using NFSv3 or v4 on the client? With v4, you can cross mount boundries with a single nfs mount. This is very useful for things like NFS mounting homedirs, as you can mount just home and have access to each user's personal dataset with out 100s of separate mounts on the client. If you want a child dataset NOT to be reachable, 'zfs set sharenfs=3Doff dataset', and it will not be reachable via NFSv4 --=20 Allan Jude --2wUdgpzT4myiXziywWQBGe5j1Z1YBhhu4-- --KVxkAYuKhQAuy65ELZS1OB6n5i0wxyKog Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJfO9V1AAoJEBmVNT4SmAt+AMAQALgG4snz4VE2xsn9pG8F5WgA dUW7nh2GdSE/B1PNAzA7FmUue2uSfhRtCaZB4skqPAQ0ahaw/miUTboILENQEHgy TGkLhriCELUq+GR97xX/coR0Z4d6MgPNIYJAyr2QWe5ZO6Mh7il65vc1XciOOdHK bVJ07Z41x1eaE2suBbyo+25gXiDSs9CZspdwNMBbWFv8WZNOLZ5qwovJW8Jwkf0L 1PKTkE4FCDF/hQAUbL3m3/bnFN5N++o1YL631uweqGji7oyIbggofKJcx2TDpYKW iVp4tk0RVfEJxy1IS9zntxI8lO4YsHBZa/2qvMtWwqSd37pWRcj4Mb73afmF7+d8 hl5fWFzBQZEdax0PKbIFuK7XeqZw4aIKJRvs67tTzfIxKn704QhyTyiOCdw9S2Pm 8BJkVa0KcTjirjyswJg4vNg4fLlpjti5xkQ42L00U8wiuaXxS2uAGdxhfBsbxZOy jjcp25BspyWRqqjp377DOQMbUEGJnp+11biMoIXp2mCAFY2T9ixvSRK2LMIAKpeT YrWeaDgNC/x/cE9ImKIuqPjPNvmzEhKZPnCJB0GLJb2J9qKF7NO1kYWp1ZDW9vSO hbDENA/cJnjPkpigf9QOR/F2Xqv3zZFK82XSZw63UcP+ZxtdQUpLCRw9JbvdO0N9 2YC6iXivxSuPqFaZ0rMx =WcQy -----END PGP SIGNATURE----- --KVxkAYuKhQAuy65ELZS1OB6n5i0wxyKog--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06bf3020-a8b1-8754-7a76-a34086fc1e6b>