From owner-freebsd-questions@FreeBSD.ORG Wed Aug 8 18:57:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34590106564A for ; Wed, 8 Aug 2012 18:57:23 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 132E58FC16 for ; Wed, 8 Aug 2012 18:57:22 +0000 (UTC) Received: from [10.0.10.3] ([173.88.199.104]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Aug 2012 11:57:20 -0700 Message-ID: <5022B684.7010803@a1poweruser.com> Date: Wed, 08 Aug 2012 14:57:08 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Adam Vande More References: <1344347348.23440.5.camel@blackfriar.inhio.eu> <5022715C.9010301@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Aug 2012 18:57:20.0781 (UTC) FILETIME=[A38953D0:01CD7597] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org, blackfriar Subject: Re: NFS within a Jail?! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2012 18:57:23 -0000 Adam Vande More wrote: > On Wed, Aug 8, 2012 at 9:02 AM, Fbsd8 wrote: >> Long answer is; NFS requires rpcbind to function. rpcbind is dependent on >> a network stack. Jails do not have their own network stack, they use the >> hosts network stack. > > > Dealing with this has been SOP practice in jails since their inception. > See man 8 jail. The best way to run the NFS server is from the jail. > Running it host side is the hard part. > http://www.freebsd.org/cgi/query-pr.cgi?pr=133265 The jail code maintainer says NFS server/client will not work jailed. So since you say this is SOP (standard operation procedure) then why is there no documentation available on how to do it? All the Google hits for "NFS running from Freebsd jail" end with no one got it to work. Have you done this? Do you have a procedure to post or know of a posted procedure giving step-by-step sequence to get NFS running in a jail with or without VIMAGE/VNET for Release 8.x or 9.x versions? > >> There is some experimental software to give each jail its own network >> stack but I sure would not deploy a production system based on this. >> > > There are a number of people who have reached the > opposite decision concerning VIMAGE/VNET enabled jails. They are much > easier to work with and provide nice capabilities. > Still doesn't change the FACT it's experimental!