From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 14 15:05:12 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 4A7E916A4CE for ; Tue, 14 Dec 2004 15:05:12 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC12043D49 for ; Tue, 14 Dec 2004 15:05:11 +0000 (GMT) (envelope-from mhersant@comcast.net) Received: from [192.168.2.102] (c-24-22-136-36.client.comcast.net[24.22.136.36]) by comcast.net (rwcrmhc12) with ESMTP id <2004121415051101400e9bhse>; Tue, 14 Dec 2004 15:05:11 +0000 Message-ID: <41BF0125.8090103@comcast.net> Date: Tue, 14 Dec 2004 07:05:09 -0800 From: Matt User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <41BED7F2.309@comcast.net> <41BEFD59.2040307@freebsdbrasil.com.br> In-Reply-To: <41BEFD59.2040307@freebsdbrasil.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 15:05:12 -0000 Patrick Tracanelli wrote: > > 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). > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > Thanks for your input. I've noticed that nfs server is runing nfsv4. This might shed new light on the problem.