From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 09:30:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66C6737B401 for ; Thu, 7 Aug 2003 09:30:58 -0700 (PDT) Received: from mail.lewiz.org (pam80-1-11-197.man.dial.ntli.net [80.1.11.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 897C643FAF for ; Thu, 7 Aug 2003 09:30:56 -0700 (PDT) (envelope-from lewiz@blue.lewiz.org) Received: from blue.lewiz.org ([192.168.0.11]) by mail.lewiz.org with smtp (Exim 4.20) id 19jPAZ-000IBb-Lx for freebsd-questions@freebsd.org; Sun, 03 Aug 2003 20:09:31 +0000 Received: (nullmailer pid 10723 invoked by uid 4001); Sun, 03 Aug 2003 20:09:49 -0000 Date: Sun, 3 Aug 2003 21:09:49 +0100 From: Lewis Thompson To: FreeBSD-questions Message-ID: <20030803200948.GA10712@lewiz.org> Mail-Followup-To: Lewis Thompson , FreeBSD-questions Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.4i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: Jail FS questions. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 16:30:58 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I currently have a bunch of jails running on my FreeBSD box. I've done this by making installworld a number of times, each time with a different DESTDIR (say /jail1, /jail2, /jail3). Clearly this is using a significant amount of space on the machine. I've been reading about unionfs and nullfs (well, more skim reading really; I'm not FS guru, which is why I'm asking here) and one of these sounds like it could be the idea solution. At first glance I'd say that unionfs would be the way to go. My question about unionfs: if I use this as a base dir for all of my jails and decide to ``upgrade'' the base system will it actually work? I mean, when I start installing stuff through the ports does it ever modify the base system in any way? If it does, then surely a base system upgrade will appear to leave the old ports-created files (because the upper layer changes override the lower unionfs fs). Secondly, I don't really understand nullfs. Would this be a ``better'' solution than using unionfs? Maybe it isn't even a solution, but if it is, a pointer to some useful articles would be great (aside man mount_nullfs; I've read that but don't fully understand). Thanks very much! -lewiz. --=20 Natives who beat drums to drive off evil spirits are objects of scorn to smart Americans who blow horns to break up traffic jams. -- Mary Ellen Kelly ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/LWwMItq0KFQv7T8RAkXcAJ9i+W3g5ZC2LtBcycwglt6rVt3pzwCfaXDl 3hFLlEv3r+Re8vQxDYno594= =evSB -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--