Date: Mon, 8 Feb 2010 16:13:07 -0600 From: "Gary Gatten" <Ggatten@waddell.com> To: "Adam Vande More" <amvandemore@gmail.com>, "Jason" <jhelfman@e-e.com> Cc: "Richard L. Houston" <rhouston@rlhc.net>, freebsd-questions@freebsd.org Subject: RE: Updating packages in Jails Message-ID: <11646_1265667228_4B708C9C_11646_2871_1_70C0964126D66F458E688618E1CD008A08CCF4FB@WADPEXV0.waddell.com> In-Reply-To: <6201873e1002081327k20bb39aey5a24d1b9337e41f9@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <jhelfman@e-e.com> 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! <font size=3D"1"> <div style=3D'border:none;border-bottom:double windowtext 2.25pt;padding:0i= n 0in 1.0pt 0in'> </div> "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." </font>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11646_1265667228_4B708C9C_11646_2871_1_70C0964126D66F458E688618E1CD008A08CCF4FB>