From owner-freebsd-fs@freebsd.org Tue Aug 30 12:01:18 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 4E374BC889F for ; Tue, 30 Aug 2016 12:01:18 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:201:6350::2]) by mx1.freebsd.org (Postfix) with ESMTP id 14F327B4 for ; Tue, 30 Aug 2016 12:01:18 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.221.107] (unknown [185.79.217.61]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 20C4F2B3; Tue, 30 Aug 2016 15:01:10 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: ZFS + NFS + multiple hosts/mount options ..? References: <20160829211001.GI1779@mordor.lan> To: Julien Cigar , freebsd-fs@freebsd.org From: Lev Serebryakov Organization: FreeBSD Message-ID: <7a508630-3bcc-2e3d-a78e-8d5e0675ab85@FreeBSD.org> Date: Tue, 30 Aug 2016 14:01:09 +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: <20160829211001.GI1779@mordor.lan> Content-Type: text/plain; charset=utf-8 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 12:01:18 -0000 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 -- // Lev Serebryakov