From owner-freebsd-jail@FreeBSD.ORG Thu Jan 21 09:12:25 2010 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C70B5106568B; Thu, 21 Jan 2010 09:12:25 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 847E18FC08; Thu, 21 Jan 2010 09:12:25 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 97D0C19E023; Thu, 21 Jan 2010 10:12:23 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 7846319E019; Thu, 21 Jan 2010 10:12:21 +0100 (CET) Message-ID: <4B581A74.5060000@quip.cz> Date: Thu, 21 Jan 2010 10:12:20 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 MIME-Version: 1.0 To: Charles Sprickman References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: 32-bit jails on a 64-bit system? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 09:12:25 -0000 Charles Sprickman wrote: > Howdy, > > I saw this little tidbit in the 8.0 Release Notes... > > ---- > The jail(8) subsystem has been updated. Changes include: > > Compatibility support which permits 32-bit jail binaries to be used on > 64-bit systems to manage jails has been added. > ---- > > I know prior to 8.0 with some fancy footwork you could do some > interesting things (for example, I have a jail running a bunch of 32-bit > 4.11 stuff on a 7.2 amd64 box), but it was not easy. > > Looking at the jail manpage and handbook entries, I'm not seeing > anything that further explains the changes. I've been able to get some > things working in a test setup, but not everything. Any pointers to what > exactly that blurb in the release notes actually means? Google is > getting me nowhere. > > My current scenario is this... I have a backups server with a ton of > space. Nightly backups run to this and get zfs-snapshotted each night. I > also have created jails for a number of important hosts so that should I > lose a host, I can bring up a jail on this box to replace it while I > repair things. One host is a 7.2/i386 box. The backups host is > 8.0/amd64. Ideally I'd like to copy everything, including the base OS > into this jail, except for perhaps "ps", "top" and other utilities that > might have issues. (freebsd-jail@ was added in to Cc:) I think it is nothing new to 8.0, it is the same as release note for 7.2. I didn't test it, but I think you can install (copy) i386 jail (or whole system) in to amd64 host and just run it as any other jail. Miroslav Lachman