From owner-freebsd-fs@FreeBSD.ORG Fri Sep 7 18:10:07 2012 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFCF2106566B for ; Fri, 7 Sep 2012 18:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B98898FC14 for ; Fri, 7 Sep 2012 18:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q87IA7iN099124 for ; Fri, 7 Sep 2012 18:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q87IA7lP099110; Fri, 7 Sep 2012 18:10:07 GMT (envelope-from gnats) Date: Fri, 7 Sep 2012 18:10:07 GMT Message-Id: <201209071810.q87IA7lP099110@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org From: Richard Conto Cc: Subject: Re: kern/147881: [zfs] [patch] ZFS " sharenfs" doesn' t allow different " exports" options for different hosts X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Richard Conto List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 18:10:07 -0000 The following reply was made to PR kern/147881; it has been noted by GNATS. From: Richard Conto To: Martin Matuska Cc: Richard Conto , bug-followup@FreeBSD.org Subject: Re: kern/147881: [zfs] [patch] ZFS "sharenfs" doesn't allow different "exports" options for different hosts Date: Fri, 7 Sep 2012 14:05:39 -0400 On Sep 6, 2012, at 9:36 AM, Martin Matuska wrote: > The purpose of the sharenfs property is not to completely replace > /etc/exports. > What we have is just a tricky workaround that populates = /etc/zfs/exports. > T > he commands to NFS-share filesystems on illumos are different and our > options are mostly incompatible with illumos. > So you e.g. sharenfs=3D"-maproot=3Droot" is invalid if imported on a > Openindiana system. >=20 > Have you considered using just /etc/exports for more-complex = configurations? Yes. It doesn't scale - and scaling is the whole purpose of NFS. It = also makes it difficult for distributed management of access rights to = end-user NFS exports. I wouldn't mind using a FreeBSD specific attribute to populate = /etc/zfs/exports with FreeBSD specific values such as is used for = swapping to ZFS. Merging the two different attributes would either be = tricky, or the use of the FreeBSD one should cause "sharenfs" to be = ignored entirely. > --=20 > Martin Matuska > FreeBSD committer > http://blog.vx.sk >=20