From owner-freebsd-chat@FreeBSD.ORG Mon Aug 6 20:26:46 2007 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DE8716A474 for ; Mon, 6 Aug 2007 20:26:46 +0000 (UTC) (envelope-from mse_software@charter.net) Received: from que02.charter.net (que02.charter.net [209.225.8.190]) by mx1.freebsd.org (Postfix) with ESMTP id 35C0013C48A for ; Mon, 6 Aug 2007 20:26:46 +0000 (UTC) (envelope-from mse_software@charter.net) Received: from aa03.charter.net ([10.20.200.155]) by mtai04.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070806200105.WPKF19955.mtai04.charter.net@aa03.charter.net>; Mon, 6 Aug 2007 16:01:05 -0400 Received: from [192.168.10.101] (really [71.92.114.191]) by aa03.charter.net with ESMTP id <20070806200104.OJFG7864.aa03.charter.net@[192.168.10.101]>; Mon, 6 Aug 2007 16:01:04 -0400 From: "Michael S. Eubanks" To: freebsd-chat@freebsd.org In-Reply-To: <46A76B1A.3030500@gmail.com> References: <1184999435.1082.21.camel@yak.mseubanks.net> <46A76B1A.3030500@gmail.com> Content-Type: text/plain Date: Mon, 06 Aug 2007 13:01:04 -0700 Message-Id: <1186430464.998.17.camel@yak.mseubanks.net> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Cc: Subject: Re: Computers and parts to donate... X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mse_software@charter.net List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2007 20:26:46 -0000 On Wed, 2007-07-25 at 17:24 +0200, deeptech71@gmail.com wrote: > Michael S. Eubanks wrote: > > I'm just curious if anyone knows of a place that will accept relatively > > extinct hardware and/or good UNIX starter machines? If not, I'll just > > wait until I meet someone who wants some stuff for fun or otherwise. > > You can sell them on eBay for some fee (if you think anyone would buy them). > > What are they? Too many things to make a list, but here's the more useful stuff (others can decide what they're useful for): Pentium II 233, 384 MB ram, intel ethernet (100 TX), 5.25" and 3.5" floppies, CD-ROM driver, SCSI II controller w/disk. Miscellaneous other parts including SCSI III controller (I think), Win98 install CD's, borland C++ developement software, 100 TX autosensing 8-port hub...possibly a Pentium II 450 (running)...a Pentium I 133 w/memory (running)...Pentium I 120 w/memory...etc. I have two boxes full of stuff that I'd like to get rid of before I move. The systems were given to me over the years and they have been used for a long time up until now - they are still usable. Thanks for the ideas BTW, I'll check them out. -Michael Eubanks mse_software@charter.net From owner-freebsd-chat@FreeBSD.ORG Fri Aug 10 10:46:16 2007 Return-Path: Delivered-To: chat@FREEBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF3A116A473 for ; Fri, 10 Aug 2007 10:46:16 +0000 (UTC) (envelope-from LISTSERV@LISTSERV.BINGHAMTON.EDU) Received: from bingspool.cc.binghamton.edu (bingspool.cc.binghamton.edu [128.226.6.24]) by mx1.freebsd.org (Postfix) with ESMTP id 8385513C474 for ; Fri, 10 Aug 2007 10:46:16 +0000 (UTC) (envelope-from LISTSERV@LISTSERV.BINGHAMTON.EDU) Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by bingspool.cc.binghamton.edu (8.12.11/8.12.11) with ESMTP id l7AAR20O005079 for ; Fri, 10 Aug 2007 06:27:02 -0400 (EDT) Received: from bulistsrv (listserv.binghamton.edu [128.226.99.50]) by bingnet2.cc.binghamton.edu (8.12.11/8.12.11) with ESMTP id l7AAQoXl010966 for ; Fri, 10 Aug 2007 06:26:58 -0400 (EDT) Date: Fri, 10 Aug 2007 06:26:41 -0400 From: "Binghamton University LISTSERV Server (15.0)" To: chat@FREEBSD.ORG Message-ID: Cc: Subject: Message ("The distribution of your message dated Fri, 10...") X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 10:46:16 -0000 The distribution of your message dated Fri, 10 Aug 2007 06:16:39 -0400 with subject "REPORT" has been postponed because the BSDEBOARD list is held. No action is required from you; your message will be reprocessed automatically once the list owner releases the list. From owner-freebsd-chat@FreeBSD.ORG Fri Aug 10 18:43:05 2007 Return-Path: Delivered-To: chat@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EC3316A418 for ; Fri, 10 Aug 2007 18:43:05 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id 5ACE713C46C for ; Fri, 10 Aug 2007 18:43:05 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id D50AA812A for ; Fri, 10 Aug 2007 13:13:42 -0500 (CDT) Received: by mail.tcbug.org (Postfix, from userid 1001) id A3190341C8C; Fri, 10 Aug 2007 13:13:42 -0500 (CDT) Date: Fri, 10 Aug 2007 13:13:42 -0500 From: Josh Paetzel To: chat@freebsd.org Message-ID: <20070810181342.GG83613@tcbug.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IGPMjTREWkoKVnU2" Content-Disposition: inline Cc: Subject: Creating and copying jail images X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Josh Paetzel List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2007 18:43:05 -0000 --IGPMjTREWkoKVnU2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've been searching for a way to create and copy jail images around for some time now and I've found a solution that works for me and thought I would share it with list and see if anyone can poke any holes in it. Problem: I need to create a jail image that I can deploy on multiple servers, ala a generic apache jail or postgresql jail or whatever. I need to be able to simply explode this image in to a directory and have it work, I'd also like to be able to compress the image because it occasionally has to go over lower-speed WAN links. Here are the tools that I've investigated and the problems I've had with them: tar, cpio, pax: All 3 of these tools have problems with various combinations of meta-data, links, and things like device nodes. cpdup: makes perfect copies, no way to create an archive or image dump: only operates on filesystems. mksiofs: After 3 hours of trying various flags I was unable to create a perfect image, although I got close a couple of times. I finally hit on a solution that works for me. Create a filebacked md filesystem and create the initial jail on that, then dump it. From there you can use restore to explode it anywhere it's needed. so, as a quick example.... dd if=3D/dev/zero of=3D/data/jailfile bs=3D2m count=3D1000 mdconfig -a -t vnode -f jailfile -u 0 newfs /dev/md0 mount /dev/md0 /mnt cd /usr/src ; make installworld distribution DESTDIR=3D/mnt do the things you do to start the jail jexec in to it, install what you need, customizations, so on... stop the jail dump -0Laf jail.img /dev/md0 bzip2 jail.img Now you have a bzip2'd image file that you can restore to an empty directory any time you want a perfect copy of that jail. Another interesting thought is that you could restore to a file backed md device and impliment quotas...at the cost of preallocating the disk space. Anyways, for my problem set it seems to be a workable solution, whether it is useful for anyone else or not I don't know. Also, if you have a different solution or can see a flaw in this one I'd love to hear about it. --=20 Thanks, Josh Paetzel --IGPMjTREWkoKVnU2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGvKrWJvkB8SevrssRAhSMAKCKHcGZkuzEz+Kuqb4nnjQK137t2wCfRKwH 5wZJWf3aPdBXJO9uCM0vENs= =T3RK -----END PGP SIGNATURE----- --IGPMjTREWkoKVnU2--