From owner-freebsd-fs@freebsd.org Fri Aug 12 16:12:20 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 AE849BB6F25 for ; Fri, 12 Aug 2016 16:12:20 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E5781328 for ; Fri, 12 Aug 2016 16:12:20 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-226-8.lns20.per1.internode.on.net [121.45.226.8]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u7CGCCr2043197 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 12 Aug 2016 09:12:17 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: NFS shares and jails To: Julien Cigar , freebsd-fs@freebsd.org References: <20160812144759.GQ70364@mordor.lan> From: Julian Elischer Message-ID: <4a15701a-d229-47fc-e9a3-4c5a8892a476@freebsd.org> Date: Sat, 13 Aug 2016 00:12:06 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160812144759.GQ70364@mordor.lan> Content-Type: text/plain; charset=utf-8; format=flowed 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: Fri, 12 Aug 2016 16:12:20 -0000 On 12/08/2016 10:47 PM, Julien Cigar wrote: > Hello, > > Let's say I have 10 jails on a machine that need access to the same NFS > share. I wondered what was best: 10 NFS mount on the HOST (one for each > jail), or 1 NFS mount on the HOST and 1 NULLFS mount per jail.. (10 > NULLFS in total)? I'd guess 10 nfs mounts.. it depends on how much the jails SHARE the data. 10 nfs mounts will never share anything but 1 nfs mount will share its data and metadata before it hits the wire so there may be some caching effects. > > Thanks, > Julien >