From owner-freebsd-emulation Sun Feb 24 23:35:12 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id D466D37B402 for ; Sun, 24 Feb 2002 23:35:09 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1P7Z719030868; Mon, 25 Feb 2002 02:35:07 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20020218080318.A339@laptop.6bone.nl> References: <20011110222046.A54582@server.vns.oc.ca.ua> <20011112072336.A60470@laptop.6bone.nl> <20020215094528.E50440@laptop.6bone.nl> <20020218080318.A339@laptop.6bone.nl> Date: Mon, 25 Feb 2002 02:35:06 -0500 To: Mark Santcroos From: Garance A Drosihn Subject: Re: Questions on Vmware2 (or vmware3?) on current Cc: Vladimir N Silyaev , emulation@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 8:03 AM +0100 2/18/02, Mark Santcroos wrote: >Hi Garance, > >On Fri, Feb 15, 2002 at 10:58:57PM -0500, Garance A Drosihn wrote: > > I do have NETGRAPH in the kernel, and the script installed in >> /usr/local/etc/rc.d/vmware.sh does look like it's *trying* to setup >> the right network from there, but it dies at the line which does >> the 'echo -n > $dev_vmnet' claiming that there is no such device or >> address (even though there does seem to be the right special-device >> defined at that point, which is just /compat/linux/dev/vmnet1 ). > >If you have DEVFS in your kernel, then /compat/linux/dev/vmnet1 >should be a symlink to /dev/vmnet1. Well, I had misunderstood the point you were trying to make here. I thought you meant that if I had DEVFS in the kernel, then *that* would cause /compat/linux/dev/vmnet1 to be a symlink into /dev. Thanks to comments from a few other people, I realized that what you meant was that *I* had to remove /compat/linux/dev/vmnet1 and then *I* had to re-create it as a symlink into /dev. I have now done that, and vmware2 is working under current for me (with the netgraph stuff working just fine, too). Looking under /compat/linux/dev/*, I notice that almost everything in there (for me at least) is a symlink back to /dev, except for "hda", "hdb", "null", "rtc", and "vmmon". null is presumably working fine, but I wonder of rtc and vmmon should also be done as symlinks back into /dev ... Anyway, thanks. Now I can stick with running current most of the time, instead of having to reboot into stable to run vmware. This is very helpful! -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 25 1:40:59 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 23BA637B429 for ; Mon, 25 Feb 2002 01:40:46 -0800 (PST) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g1P9ejT20207 for ; Mon, 25 Feb 2002 10:40:45 +0100 Received: (nullmailer pid 807 invoked by uid 1000); Mon, 25 Feb 2002 09:40:44 -0000 Date: Mon, 25 Feb 2002 10:40:44 +0100 From: Mark Santcroos To: emulation@FreeBSD.ORG Subject: Re: Questions on Vmware2 (or vmware3?) on current Message-ID: <20020225104044.D417@laptop.6bone.nl> References: <20011110222046.A54582@server.vns.oc.ca.ua> <20011112072336.A60470@laptop.6bone.nl> <20020215094528.E50440@laptop.6bone.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020215094528.E50440@laptop.6bone.nl>; from marks@ripe.net on Fri, Feb 15, 2002 at 09:45:28AM +0100 X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 15, 2002 at 09:45:28AM +0100, Mark Santcroos wrote: > Summarizing: vmware2 works fine under -current at the moment except for > one problem that it can only be run once due to some thing we are looking > into with the tap device. FYI: this has been fixed and commited a few days back. Was a resource releasing problem in linux emu. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 25 14:15:32 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mhub-c2.tc.umn.edu (mhub-c2.tc.umn.edu [160.94.128.45]) by hub.freebsd.org (Postfix) with ESMTP id 998AC37B420 for ; Mon, 25 Feb 2002 14:15:29 -0800 (PST) Received: from [24.118.56.176] by mhub-c2.tc.umn.edu for freebsd-emulation@freebsd.org; Mon, 25 Feb 2002 16:14:56 -0600 Reply-To: From: "Kirk R. Wythers" To: Subject: splus java gui Date: Mon, 25 Feb 2002 16:21:41 -0600 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Has anyone been successful getting the Java frontend of Splus for linux running on freebsd. I can fire up the command line interface but no luck with the Java driven gui. Regards, Kirk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 25 16:36:56 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 122A637B417 for ; Mon, 25 Feb 2002 16:36:55 -0800 (PST) Received: from randy by rip.psg.com with local (Exim 3.35 #1) id 16fVby-00071z-00 for freebsd-emulation@freebsd.org; Mon, 25 Feb 2002 16:36:54 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd emulator list Subject: 3.0 dream Message-Id: Date: Mon, 25 Feb 2002 16:36:54 -0800 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i would really love to run o -stable o vmware 3.0 o windows xp guest, on a raw disk this year? anything folk can do to help? randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Mon Feb 25 23:43:17 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id 0E99737B402 for ; Mon, 25 Feb 2002 23:43:11 -0800 (PST) Received: from laptop.6bone.nl (penguin.ripe.net [193.0.1.232]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g1Q7gQT31807 for ; Tue, 26 Feb 2002 08:42:56 +0100 Received: (nullmailer pid 6090 invoked by uid 1000); Tue, 26 Feb 2002 06:12:22 -0000 Date: Tue, 26 Feb 2002 07:12:22 +0100 From: Mark Santcroos To: freebsd emulator list Subject: Re: 3.0 dream Message-ID: <20020226071222.O417@laptop.6bone.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from randy@psg.com on Mon, Feb 25, 2002 at 04:36:54PM -0800 X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Feb 25, 2002 at 04:36:54PM -0800, Randy Bush wrote: > i would really love to run > o -stable > o vmware 3.0 > o windows xp guest, on a raw disk > > this year? Not if the people doing the job have to keep answering the same questions over and over .... Yes this is being worked on, no we don't have a deadline. -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Feb 26 6: 3: 5 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mhub-w2.tc.umn.edu (mhub-w2.tc.umn.edu [160.94.160.45]) by hub.freebsd.org (Postfix) with ESMTP id 61C7737B41B for ; Tue, 26 Feb 2002 06:03:03 -0800 (PST) Received: from [128.101.74.47] by mhub-w2.tc.umn.edu for freebsd-emulation@freebsd.org; Tue, 26 Feb 2002 08:03:03 -0600 Content-Type: text/plain; charset="iso-8859-1" From: kirkrw To: freebsd-emulation@FreeBSD.org Subject: Splus java gui fails. Date: Tue, 26 Feb 2002 07:51:31 -0600 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have Splus for linux running on the command line on freebsd 4.5 (linux_base-62). However, everything crashes when I try and run the java based gui. Has anyone tried to use splus or heard anyting from those who have? I wonder if it is an issue with which java I have instialled. Although'm not sure how to figure out which version of Java I have installed. Is there a recomended version af java (the ports collection has a bunch of them. Thanks, Kirk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Feb 26 15:59:33 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id D0C7637B41E; Tue, 26 Feb 2002 15:59:27 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1QNuV634993; Tue, 26 Feb 2002 15:56:31 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Tue, 26 Feb 2002 15:56:31 -0800 (PST) From: Patrick Thomas To: Cc: Subject: Four misc. questions related to jail usage Message-ID: <20020226154918.D34815-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 1. Does each jail need to have its own proc filesystem mounted ? The original jail documentation says to do that, but I have heard rumors that this is not necessary. What is the negative ramifications (if any) to running a jail without its own seperately mounted proc filesystem ? (I have a test machine with ten jails on it, and I have ten extra proc filesystems mounted - I would like to avoid this if possible..) 2. Does kern.maxproc scale in a linear fashion with maxusers ? 3. is kern.maxvnodes determined automatically based on other settings, or do I ever have to tune this myself by hand ? 4. Why is it that some linux utilities, run inside a jail, get the hostname of the host machine, and not the hostname of the jail itself ? I am successfully running linux apps in jails by using linux compat on the host system and running linux.ko, but sometimes these linux apps get the wrong hostnames.... Thanks! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Tue Feb 26 17:28:39 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from goose.prod.itd.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by hub.freebsd.org (Postfix) with ESMTP id 81CAE37B402; Tue, 26 Feb 2002 17:28:31 -0800 (PST) Received: from pool0352.cvx40-bradley.dialup.earthlink.net ([216.244.43.97] helo=mindspring.com) by goose.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16fstR-0001s4-00; Tue, 26 Feb 2002 17:28:30 -0800 Message-ID: <3C7C362F.422C79CF@mindspring.com> Date: Tue, 26 Feb 2002 17:28:15 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: Four misc. questions related to jail usage References: <20020226154918.D34815-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Patrick Thomas wrote: > 1. Does each jail need to have its own proc filesystem mounted? It depends on how you plan to use it. If you use no programs that need procfs, then you don't need it. > The > original jail documentation says to do that, but I have heard rumors that > this is not necessary. What is the negative ramifications (if any) to > running a jail without its own seperately mounted proc filesystem ? (I > have a test machine with ten jails on it, and I have ten extra proc > filesystems mounted - I would like to avoid this if possible..) Programs will fail to provide information normally obtained from procfs (e.g. "ps" works this way), or will simply fail entirely. For -current, you're also going to need to mount a devfs in there, too, minimally for /dev/null and /dev/zero. > 2. Does kern.maxproc scale in a linear fashion with maxusers ? It's linear, but that doesn't mean it's correct for your application. The most common tuning mistake is bumping up maxusers in order to get something else bumped up as a side effect. > 3. is kern.maxvnodes determined automatically based on other settings, or > do I ever have to tune this myself by hand ? Depends on the version of FreeBSD, as to whether it's "automatic", since that could mean many things (e.g. Matt's autoscaling patches based on physical RAM size); you never _have_ to tune _anything_ by hand... but it's often a good idea to do so. The kern.maxvnodes is, as Matt explained yesterday, self-limiting. > 4. Why is it that some linux utilities, run inside a jail, get the > hostname of the host machine, and not the hostname of the jail itself ? I > am successfully running linux apps in jails by using linux compat on the > host system and running linux.ko, but sometimes these linux apps get the > wrong hostnames.... Dunno. Probably it's using linprocfs or something to get the information, and the code is not adjusting the return based on the caller being in a jail. Ask PHK; he started the whole "jail" thing. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Feb 27 12:52:35 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 2FD2837B423; Wed, 27 Feb 2002 12:52:20 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1RKnIk67973; Wed, 27 Feb 2002 12:49:18 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Wed, 27 Feb 2002 12:49:18 -0800 (PST) From: Patrick Thomas To: Cc: Subject: using vnconfig devices instead of partitions for jails ? Message-ID: <20020227124518.X67780-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I would like to put a large number of jails (16 or 20) on a server for testing purposes. I have two options so far: create 16 or 20 partitions OR just put them all in one partition, but the downside of that is that then I cannot enforce disk usage between jails. So at this point, 16-20 partitions seems the safest route. But, what about using vnconfig to create files of fixed sizes and then mounting them? Is this reasonable ? Is there a limit to how many vnconfig files I can mount as filesystems ? Is there a way to mount a directory _inside_ a vnconfig mount as a 'proc' filesystem (since the jail needs proc in order for ps, etc., to work?) Any comments about this idea in general are appreciated. --PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Feb 27 13: 3:24 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.109]) by hub.freebsd.org (Postfix) with ESMTP id 2976737B400; Wed, 27 Feb 2002 13:03:19 -0800 (PST) Received: from pooh.int (pooh.int [10.0.1.2]) by kanga.honeypot.net (8.11.6/8.11.6) with ESMTP id g1RL3Ca25132; Wed, 27 Feb 2002 15:03:12 -0600 (CST) (envelope-from kirk@strauser.com) Received: (from kirk@localhost) by pooh.int (8.11.6/8.11.6) id g1RL3B622409; Wed, 27 Feb 2002 15:03:11 -0600 (CST) (envelope-from kirk@strauser.com) To: Patrick Thomas Cc: , Subject: Re: using vnconfig devices instead of partitions for jails ? References: <20020227124518.X67780-100000@utility.clubscholarship.com> From: Kirk Strauser Date: 27 Feb 2002 15:03:11 -0600 In-Reply-To: <20020227124518.X67780-100000@utility.clubscholarship.com> Message-ID: <878z9ek580.fsf@pooh.int> Lines: 15 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 2002-02-27T20:49:18Z, Patrick Thomas writes: > I would like to put a large number of jails (16 or 20) on a server for > testing purposes. > > I have two options so far: create 16 or 20 partitions OR just put them all > in one partition, but the downside of that is that then I cannot enforce > disk usage between jails. So at this point, 16-20 partitions seems the > safest route. Good question. Is there any ability at all within the system to set a quota on a jail? -- Kirk Strauser To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Wed Feb 27 16:15: 0 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id 0B20237B402; Wed, 27 Feb 2002 16:14:32 -0800 (PST) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.3/8.11.3) id g1RNrLO05638; Wed, 27 Feb 2002 23:53:21 GMT (envelope-from nik) Date: Wed, 27 Feb 2002 23:53:20 +0000 From: Nik Clayton To: Kirk Strauser Cc: Patrick Thomas , freebsd-hackers@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: using vnconfig devices instead of partitions for jails ? Message-ID: <20020227235320.C4562@canyon.nothing-going-on.org> References: <20020227124518.X67780-100000@utility.clubscholarship.com> <878z9ek580.fsf@pooh.int> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="/Uq4LBwYP4y1W6pO" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <878z9ek580.fsf@pooh.int>; from kirk@strauser.com on Wed, Feb 27, 2002 at 03:03:11PM -0600 Organization: FreeBSD Project Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --/Uq4LBwYP4y1W6pO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 27, 2002 at 03:03:11PM -0600, Kirk Strauser wrote: > At 2002-02-27T20:49:18Z, Patrick Thomas writes: > > I would like to put a large number of jails (16 or 20) on a server for > > testing purposes. > >=20 > > I have two options so far: create 16 or 20 partitions OR just put them = all > > in one partition, but the downside of that is that then I cannot enforce > > disk usage between jails. So at this point, 16-20 partitions seems the > > safest route. >=20 > Good question. Is there any ability at all within the system to set a qu= ota > on a jail? Each vn* device has to be baced by a physical file on the system. Simply make sure that this physical device is the maximum size you want to allow in the jail. For example, on a server with 160GB of (RAID) disk, and 12 jails, each 10GB= =20 in size, I just have 12 jails; On the 'master' host for the jails. # cd /usr/local/jails/disk-images # ls -l totall 1758115 drwxr-xr-x 2 root wheel 512 Jan 23 00:40 . drwxr-xr-x 4 root wheel 512 Jan 23 00:39 .. -rw-r--r-- 1 root wheel 136 Jan 22 18:45 README -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 foo.com.vn -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 bar.com.vn -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 baz.com.vn ... These were created with "truncate 10G file", and are then mounted configued on different vn* devices, which are then mounted as normal. # mount ... /dev/vn0a on /usr/local/jails/foo.com /dev/vn1a on /usr/local/jails/bar.com /dev/vn2a on /usr/local/jails/baz.com ... N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --/Uq4LBwYP4y1W6pO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjx9cW8ACgkQk6gHZCw343Ub6QCfd9ZpULzClh4ZAlw6GqFZwruc vdkAn21PQ5CkRRN0pneTnlOE6q3zOoJ4 =gN1u -----END PGP SIGNATURE----- --/Uq4LBwYP4y1W6pO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 7:47:12 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from iguana.internexo.co.cr (iguana.internexo.co.cr [196.40.17.2]) by hub.freebsd.org (Postfix) with ESMTP id EB5B637B405 for ; Thu, 28 Feb 2002 07:47:04 -0800 (PST) Received: (from freebsd@localhost) by iguana.internexo.co.cr (8.9.3/8.9.3) id JAA01002 for freebsd-emulation@freebsd.org; Thu, 28 Feb 2002 09:47:04 -0600 (CST) From: Theodore Hope Message-Id: <200202281547.JAA01002@iguana.internexo.co.cr> Subject: oracle 8.1.7.0.1 installation successful, anyone? To: freebsd-emulation@freebsd.org Date: Thu, 28 Feb 2002 09:47:04 -0600 (CST) X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org We've tried installing Oracle 8.1.7.0.1 (for Linux) under FreeBSD 4.5-release and end up with two "jre" processes eating all the CPU and the infamous "kernel trap 9 with interrupts disabled" message scrolling on the console. This has been reported before by others, and I'm wondering if anyone has successfully installed Oracle (8.1.x or 9.x) under 4.5-Release. We can't tell if the main problem is with the Linux emulation, or what; thus my cross-posting. Many folks (including the handbook) report successful installations of Oracle 8.0.x under FreeBSD 3.2, but I haven't been able to find any recent Oracle+FreeBSD combinations. (If anyone could tell me how to download Oracle 8.0.x I'd also like to give it a try, but the "oldest" one can download for Linux from oracle.com is 8.1.7.0.1.) Thanks, -Ted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 8:28:31 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by hub.freebsd.org (Postfix) with ESMTP id 65D8B37B402 for ; Thu, 28 Feb 2002 08:28:26 -0800 (PST) Received: from alogis.com (kipp@clausthal.int1.b.intern [10.1.1.30]) by alogis.com (8.11.1/8.9.3) with ESMTP id g1SGRml09752; Thu, 28 Feb 2002 17:27:48 +0100 (CET) (envelope-from holger.kipp@alogis.com) Message-ID: <3C7E576D.6583AF99@alogis.com> Date: Thu, 28 Feb 2002 17:14:37 +0100 From: Holger Kipp X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: Theodore Hope Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: oracle 8.1.7.0.1 installation successful, anyone? References: <200202281547.JAA01002@iguana.internexo.co.cr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Theodore Hope wrote: > Many folks (including the handbook) report successful installations > of Oracle 8.0.x under FreeBSD 3.2, but I haven't been able to find > any recent Oracle+FreeBSD combinations. The latest I did was 8.0.5 on 4.2 Release with RH 6.1 emulation. I had some problems related to library-incompatibilities (what a word) in regards to the linux libraries. Due to time constrains I then just copied my 8.0.5 prerelease Linux binarys (from original oracle CD) over the half-done installation which worked quite good. The 8.1.7 is still on my todo-list.... for some time, and yes, I _DO_ hate this oracle java installer thingy! Regards, Holger -- Holger Kipp, Dipl.-Math., Systemadministrator | alogis AG Fon: +49 (0)30 / 43 65 8 - 114 | Berliner Strasse 26 Fax: +49 (0)30 / 43 65 8 - 214 | D-13507 Berlin Tegel email: holger.kipp@alogis.com | http://www.alogis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 8:38:30 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by hub.freebsd.org (Postfix) with ESMTP id 98F0A37B41B for ; Thu, 28 Feb 2002 08:38:27 -0800 (PST) Received: (from shildret@localhost) by scotth.emsphone.com (8.11.6/8.11.6) id g1SGagC78713; Thu, 28 Feb 2002 10:36:42 -0600 (CST) (envelope-from shildret) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3C7E576D.6583AF99@alogis.com> Date: Thu, 28 Feb 2002 10:36:42 -0600 (CST) From: "Scott T. Hildreth" To: Holger Kipp Subject: Re: oracle 8.1.7.0.1 installation successful, anyone? Cc: freebsd-emulation@FreeBSD.ORG, Theodore Hope Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I install RH5.2 libraries, install Oracle 8.0.5, then I installed the RH6.1 libraries over the 5.2, I didn't have to mess with the patches then. On 28-Feb-02 Holger Kipp wrote: > Theodore Hope wrote: > >> Many folks (including the handbook) report successful installations >> of Oracle 8.0.x under FreeBSD 3.2, but I haven't been able to find >> any recent Oracle+FreeBSD combinations. > > The latest I did was 8.0.5 on 4.2 Release with RH 6.1 emulation. I had > some problems related to library-incompatibilities (what a word) in > regards to the linux libraries. Due to time constrains I then just > copied my 8.0.5 prerelease Linux binarys (from original oracle CD) over > the half-done installation which worked quite good. > > The 8.1.7 is still on my todo-list.... for some time, and yes, > I _DO_ hate this oracle java installer thingy! > > Regards, > Holger > > -- > Holger Kipp, Dipl.-Math., Systemadministrator | alogis AG > Fon: +49 (0)30 / 43 65 8 - 114 | Berliner Strasse 26 > Fax: +49 (0)30 / 43 65 8 - 214 | D-13507 Berlin Tegel > email: holger.kipp@alogis.com | http://www.alogis.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message ---------------------------------- E-Mail: Scott T. Hildreth Date: 28-Feb-02 Time: 10:35:15 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 14:35:20 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id A8AE237B400; Thu, 28 Feb 2002 14:35:12 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1SMW3t29146; Thu, 28 Feb 2002 14:32:03 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Thu, 28 Feb 2002 14:32:03 -0800 (PST) From: Patrick Thomas To: Nik Clayton Cc: Kirk Strauser , , Subject: Re: using vnconfig devices instead of partitions for jails ? In-Reply-To: <20020227235320.C4562@canyon.nothing-going-on.org> Message-ID: <20020228143046.F29049-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org thank you - I am glad to see that this is a good way of doing things. Two quick items: 1. How do I give each jail a 'proc' filesystem in its /proc using this configuration ? 2. Is there any downside to this whatsoever ? This seems infinitely better than a new partition for each jail, so was I just silly for doing it that way ? thanks! On Wed, 27 Feb 2002, Nik Clayton wrote: > On Wed, Feb 27, 2002 at 03:03:11PM -0600, Kirk Strauser wrote: > > At 2002-02-27T20:49:18Z, Patrick Thomas writes: > > > I would like to put a large number of jails (16 or 20) on a server for > > > testing purposes. > > > > > > I have two options so far: create 16 or 20 partitions OR just put them all > > > in one partition, but the downside of that is that then I cannot enforce > > > disk usage between jails. So at this point, 16-20 partitions seems the > > > safest route. > > > > Good question. Is there any ability at all within the system to set a quota > > on a jail? > > Each vn* device has to be baced by a physical file on the system. > Simply make sure that this physical device is the maximum size you want > to allow in the jail. > > For example, on a server with 160GB of (RAID) disk, and 12 jails, each 10GB > in size, I just have 12 jails; > > On the 'master' host for the jails. > > # cd /usr/local/jails/disk-images > # ls -l > totall 1758115 > drwxr-xr-x 2 root wheel 512 Jan 23 00:40 . > drwxr-xr-x 4 root wheel 512 Jan 23 00:39 .. > -rw-r--r-- 1 root wheel 136 Jan 22 18:45 README > -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 foo.com.vn > -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 bar.com.vn > -rw-r--r-- 1 root wheel 10737418240 Feb 27 23:35 baz.com.vn > ... > > These were created with "truncate 10G file", and are then mounted > configued on different vn* devices, which are then mounted as normal. > > # mount > ... > /dev/vn0a on /usr/local/jails/foo.com > /dev/vn1a on /usr/local/jails/bar.com > /dev/vn2a on /usr/local/jails/baz.com > ... > > N > -- > FreeBSD: The Power to Serve http://www.freebsd.org/ (__) > FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) > \/ \ ^ > --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/_) > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 14:47:35 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 952D237B41A; Thu, 28 Feb 2002 14:47:30 -0800 (PST) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g1SMiLA29345; Thu, 28 Feb 2002 14:44:21 -0800 (PST) (envelope-from root@utility.clubscholarship.com) Date: Thu, 28 Feb 2002 14:44:21 -0800 (PST) From: Patrick Thomas To: Nik Clayton Cc: Kirk Strauser , , Subject: Re: using vnconfig devices instead of partitions for jails ? In-Reply-To: <20020227235320.C4562@canyon.nothing-going-on.org> Message-ID: <20020228144213.P29049-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org one other thing: How many mount points (jails, in this case) can I run ? I see that there are 8 existing vn0X device files in /dev - can I just create more of them using MAKEDEV (or mknod) and keep going ? What is the maximum ? 256 ? also, do I need to alter the kernel to support more vn0X device files, or does a stock kernel support all the way up to the maximum (whatever that is - see previous question :) thanks again - much appreciated. --pt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 15:47: 4 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id E275C37B405; Thu, 28 Feb 2002 15:46:49 -0800 (PST) Received: from pool0128.cvx40-bradley.dialup.earthlink.net ([216.244.42.128] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16gaFu-00071K-00; Thu, 28 Feb 2002 15:46:35 -0800 Message-ID: <3C7EC14A.9D3DC098@mindspring.com> Date: Thu, 28 Feb 2002 15:46:18 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Patrick Thomas Cc: Nik Clayton , Kirk Strauser , freebsd-hackers@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: using vnconfig devices instead of partitions for jails ? References: <20020228144213.P29049-100000@utility.clubscholarship.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Patrick Thomas wrote: > How many mount points (jails, in this case) can I run ? I see that there > are 8 existing vn0X device files in /dev - can I just create more of them > using MAKEDEV (or mknod) and keep going ? > > What is the maximum ? 256 ? Depends. Expect 256 to be available in all versions. > also, do I need to alter the kernel to support more vn0X device files, or > does a stock kernel support all the way up to the maximum (whatever that > is - see previous question :) They are allocated as they are configed, so the limitation is the number of minor devices. Note: I personally run 13 jails on the laptop from which I am currently typing this. I do *not* use seperate partitions or vnconfig'ed devices; on the other hand, I don't have quota enforecement issues. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 22:14:52 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 8713037B402; Thu, 28 Feb 2002 22:14:48 -0800 (PST) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id JAA24030; Fri, 1 Mar 2002 09:22:19 +0300 (MSK) Message-Id: <200203010622.JAA24030@aaz.links.ru> Subject: Re: using vnconfig devices instead of partitions for jails ? In-Reply-To: <20020228144213.P29049-100000@utility.clubscholarship.com> from "Patrick Thomas" at "Feb 28, 2 02:44:21 pm" To: root@utility.clubscholarship.com (Patrick Thomas) Date: Fri, 1 Mar 2002 09:22:19 +0300 (MSK) Cc: nik@FreeBSD.ORG, kirk@strauser.com, freebsd-hackers@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Patrick Thomas writes: > > one other thing: > > How many mount points (jails, in this case) can I run ? I see that there > are 8 existing vn0X device files in /dev - can I just create more of them > using MAKEDEV (or mknod) and keep going ? You can use vnXs1a..vnXs30h on each vn vnconfig -s labels > What is the maximum ? 256 ? > > also, do I need to alter the kernel to support more vn0X device files, or > does a stock kernel support all the way up to the maximum (whatever that > is - see previous question :) -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu Feb 28 22:23:30 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from avm.eastwind.ru (gateway.eastwind.ru [195.58.31.125]) by hub.freebsd.org (Postfix) with ESMTP id D68A537B405 for ; Thu, 28 Feb 2002 22:23:26 -0800 (PST) Received: (from avm@localhost) by avm.eastwind.ru (8.11.6/8.11.6) id g216Tq100927; Fri, 1 Mar 2002 11:29:52 +0500 (YEKT) (envelope-from avm) Date: Fri, 1 Mar 2002 11:29:52 +0500 (YEKT) From: Alex Morozov Message-Id: <200203010629.g216Tq100927@avm.eastwind.ru> To: freebsd@iguana.internexo.co.cr Subject: Re: oracle 8.1.7.0.1 installation successful, anyone? Cc: freebsd-emulation@freebsd.org Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Theodore Hope wrote: > I'm wondering if anyone has successfully installed Oracle > (8.1.x or 9.x) under 4.5-Release. I managed 8.1.6 under 4.4-Release and -Current as well (quick instruction can be found at http://avm.eastwind.ru/freebsd/inst816.html, sorry, only in russian). I also tried to install 9.0.1 under -Current. Normal installation process succeded. But the first connect to database failed with this: ORA-24314: service handle not initialized Does anyone know what is it really mean? Linux tarball of 9.0.1 returned this error too. On linux the same configuration working good. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri Mar 1 3:34:44 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id 8C0D837B41A; Fri, 1 Mar 2002 03:34:33 -0800 (PST) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.6/8.11.6) id g21BP6s06527; Fri, 1 Mar 2002 11:25:06 GMT (envelope-from nik) Date: Fri, 1 Mar 2002 11:25:06 +0000 From: Nik Clayton To: Patrick Thomas Cc: Nik Clayton , Kirk Strauser , freebsd-hackers@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: using vnconfig devices instead of partitions for jails ? Message-ID: <20020301112506.A843@clan.nothing-going-on.org> References: <20020227235320.C4562@canyon.nothing-going-on.org> <20020228143046.F29049-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020228143046.F29049-100000@utility.clubscholarship.com>; from root@utility.clubscholarship.com on Thu, Feb 28, 2002 at 02:32:03PM -0800 Organization: FreeBSD Project Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 28, 2002 at 02:32:03PM -0800, Patrick Thomas wrote: >=20 > thank you - I am glad to see that this is a good way of doing things. Two > quick items: >=20 > 1. How do I give each jail a 'proc' filesystem in its /proc using this > configuration ? mount -t procfs proc /usr/local/jails/foo.com/proc Do this *after* you've mounted the vn device on /usr/local/jails/foo.com > 2. Is there any downside to this whatsoever ? This seems infinitely > better than a new partition for each jail, so was I just silly for doing > it that way ? The only real problems I've run into relate to the fact that the FreeBSD startup scripts know nothing about jails. So there's some script writing required to get things to start up appropriately at boot time. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjx/ZREACgkQk6gHZCw343VBigCfaAhCjBBGLpATBLnIktpnfDEj 3xsAn0tFPsDq7KMV7plxhyEzK2ZHWNwb =8yr4 -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message