From owner-freebsd-net@FreeBSD.ORG Mon Mar 28 20:08:42 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D885F106567C; Mon, 28 Mar 2011 20:08:42 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from spock-ext.obspm.fr (spock-ext.obspm.fr [145.238.186.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6DF4A8FC26; Mon, 28 Mar 2011 20:08:42 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by spock-ext.obspm.fr (8.14.3/8.14.3/DIO Observatoire de Paris - 15/04/10) with ESMTP id p2SK8d1D005688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Mar 2011 22:08:40 +0200 Date: Mon, 28 Mar 2011 22:08:39 +0200 From: Albert Shih To: Julian Elischer Message-ID: <20110328200839.GA16611@obspm.fr> References: <20110322131435.GA5792@obspm.fr> <4D890905.9010000@freebsd.org> <20110323100504.GA8779@obspm.fr> <4D8AE4BC.4080900@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4D8AE4BC.4080900@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.4 (spock-ext.obspm.fr [145.238.186.20]); Mon, 28 Mar 2011 22:08:40 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.97 at spock-ext.obspm.fr X-Virus-Status: Clean Cc: freebsd-net@freebsd.org, freebsd-jail@freebsd.org Subject: Re: setfib mount X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 20:08:43 -0000 Le 23/03/2011 à 23:29:16-0700, Julian Elischer a écrit > >> > > No. > > > > The mount is on the host. > > so then I too am not sure why the mount itself would use the second FIB. > is it possible that some of the mounting is being done automatically > by rc scripts > using /etc/fstab in the jail? No totally «impossible»...;-) But maybe I find something. I need to do some tests (the server is in production) but seem to me it's more complicate then I though. Configuration : Two physical interfaces (bce0 and bce1) The «host» is on the bce0 --> setfib 0 The jail is on the bce1. --> setfib 1 If I try in the /etc/fstab to put the mount he seem to me the connection start from bce1. If I don't put the mount in the /etc/fstab but in something like (or manually) /etc/rc.local with #/usr/sbin/setfib 0 mount -t nfs -o rw,tcp etc... it's working...until the jail try to access to this partition at this moment the connection start from bce1. So to solve my problem I put the mount in the /etc/fstab and make the NFS-server accept connection from bce1. But...I think it's a bug.... If you want me to do some other tests tell me (and give me some time). Regards. JAS -- Albert SHIH DIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: lun 28 mar 2011 22:02:00 CEST