From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 14 14:49:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2F2D16A4CE for ; Tue, 14 Dec 2004 14:49:08 +0000 (GMT) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E8DE43D3F for ; Tue, 14 Dec 2004 14:49:04 +0000 (GMT) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 69819 invoked by uid 0); 14 Dec 2004 12:48:56 -0200 Received: from eksffa@freebsdbrasil.com.br by capeta.freebsdbrasil.com.br by uid 82 with qmail-scanner-1.22 Clear:RC:1(200.210.42.5):. Processed in 0.631099 secs); 14 Dec 2004 14:48:56 -0000 Received: from unknown (HELO freebsdbrasil.com.br) (200.210.42.5) by capeta.freebsdbrasil.com.br with SMTP; 14 Dec 2004 12:48:55 -0200 Message-ID: <41BEFD59.2040307@freebsdbrasil.com.br> Date: Tue, 14 Dec 2004 12:48:57 -0200 From: Patrick Tracanelli User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matt References: <41BED7F2.309@comcast.net> In-Reply-To: <41BED7F2.309@comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: nfs within jail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 14:49:09 -0000 Matt wrote: > Quick question regarding nfs (or other filesystems) inside a jail. As > far as I can tell, it isn't possible to mount nfs shares while inside a > jail. Is this correct? Is there any way around this limitation? A way > to browse network shares without mounting? Or some such trickery? Thanks. When a Jail needs to access a NFS mounted device I use to mount it on the hosting machine (the system outsite the jail where jail is runned from) in any mount-point, so I mount_nullfs inside the selected jails, say, mount_nullfs /nfs/backup/200.200.100.40 /usr/jail/200.200.100.40/mnt/nfs/backup; The problem is that you cant do it if you are not the jails admin (ie, you dont have full access to the jails hosting system).