From owner-freebsd-questions@FreeBSD.ORG Mon Feb 8 22:13:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98A98106566C for ; Mon, 8 Feb 2010 22:13:59 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [12.154.38.61]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3C88FC12 for ; Mon, 8 Feb 2010 22:13:59 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (Postfix) with ESMTP id 2BA1926275A; Mon, 8 Feb 2010 16:12:27 -0600 (CST) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id DDA143C31A; Mon, 8 Feb 2010 16:13:48 -0600 (CST) Received: from wadpexf0.waddell.com (wadpexf0.waddell.com [192.168.204.24]) by mailhost3.waddell.com (Postfix) with ESMTP id CD45B3C308; Mon, 8 Feb 2010 16:13:48 -0600 (CST) Received: from WADPEXV0.waddell.com ([192.168.204.25]) by wadpexf0.waddell.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Feb 2010 16:13:48 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 8 Feb 2010 16:13:07 -0600 Message-ID: <11646_1265667228_4B708C9C_11646_2871_1_70C0964126D66F458E688618E1CD008A08CCF4FB@WADPEXV0.waddell.com> In-Reply-To: <6201873e1002081327k20bb39aey5a24d1b9337e41f9@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Updating packages in Jails Thread-Index: AcqpBZ5VbfrJcy9VTeWMUiVy1kfLbQABVWHw References: <12972016.97.1265661043611.JavaMail.root@goblin><32433176.107.1265661327344.JavaMail.root@goblin><6201873e1002081309m6a2d4916u828d39f1e0c9c2a@mail.gmail.com><20100208211524.GA57127@eggman.experts-exchange.com> <6201873e1002081327k20bb39aey5a24d1b9337e41f9@mail.gmail.com> From: "Gary Gatten" To: "Adam Vande More" , "Jason" X-OriginalArrivalTime: 08 Feb 2010 22:13:48.0819 (UTC) FILETIME=[FD052E30:01CAA90B] Cc: "Richard L. Houston" , freebsd-questions@freebsd.org Subject: RE: Updating packages in Jails 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: Mon, 08 Feb 2010 22:13:59 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Adam Vande More Sent: Monday, February 08, 2010 3:28 PM To: Jason Cc: Richard L. Houston; freebsd-questions@freebsd.org Subject: Re: Updating packages in Jails On Mon, Feb 8, 2010 at 3:15 PM, Jason wrote: > Use this as a starting point >> >> http://www.freebsd.org/doc/handbook/jails.html >> >> Anyways, host and jail need to run the exact same kernel. Normally I'll >> build my kernel and install it into the base as well as each individual >> jail >> so everything is consistent. >> > > Why do they need to run the exact same kernel? I didn't see that anywhere > in > the document, unless I missed it. > > thanks > They aren't a full form of visualization in terms of having a hypervisor, as it is dependent the system calls coming from a jail being the same calls that are present in the host kernel. Mismatched kernel version could break that mapping. Which is also why jails are a faster form of virtualization because all the call mappings are 1:1. At least that's my understanding. Question: Hopefully this isn't considered a hijack, but what are the *main* diffs between jails and vm's? I've never worked with jails but read about them several times. Do they allow controlling of CPU cycles, Memory regions, etc. in the same manner as the file system(s) and network? Asked another way, what are some Usage cases where jails would be equal or more appropriate than full on vm's and vice-versa. We use vm's quite extensively and I'm wondering of some of these can be done in jails instead. TIA! Gary PS: Note - no top posting this time!
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."