From owner-freebsd-fs@freebsd.org Tue Aug 30 16:31:36 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9862BC8EA3 for ; Tue, 30 Aug 2016 16:31:36 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (gtw.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71D1EB62; Tue, 30 Aug 2016 16:31:36 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 4C22326EC3; Tue, 30 Aug 2016 18:31:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DXtwTp-kEAiv; Tue, 30 Aug 2016 18:31:31 +0200 (CEST) Received: from [192.168.10.10] (asus [192.168.10.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 966DA26EC2; Tue, 30 Aug 2016 18:31:31 +0200 (CEST) Subject: Re: ZFS + NFS + multiple hosts/mount options ..? To: lev@FreeBSD.org, Julien Cigar , freebsd-fs@freebsd.org References: <20160829211001.GI1779@mordor.lan> <7a508630-3bcc-2e3d-a78e-8d5e0675ab85@FreeBSD.org> From: Willem Jan Withagen Message-ID: Date: Tue, 30 Aug 2016 18:31:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <7a508630-3bcc-2e3d-a78e-8d5e0675ab85@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2016 16:31:36 -0000 On 30-8-2016 14:01, Lev Serebryakov wrote: > On 29.08.2016 23:10, Julien Cigar wrote: > >> Is there a way through the zfs set sharenfs="..." property to share >> data/somefs readonly to host "dev.lan" _and_ read/write to host >> "duvel.prod.lan" ? Or should I just set sharenfs="off" and use >> /etc/exports (I'm using NFS4) ? It seems impossible to have multiple >> hosts/options/... when the sharenfs property is used .. > No luck here. I've raised this question multiple times withoput any > reaction. Here is (very old) PRs with patch, which implements this: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147881 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202820 > I'd say, forget about getting any flexible through sharenfs. Did that discussion about 3 years ago, and it boiled down. Don't dare to change it because the people doing ZFS don't like it. No use in pulling a dead horse. --WjW