X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 674659DCB68; Mon, 28 Nov 2005 07:04:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06643-05; Mon, 28 Nov 2005 07:04:47 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by postgresql.org (Postfix) with ESMTP id AEFC89DCB3E; Mon, 28 Nov 2005 07:04:43 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 4.42) id 1EggoP-00055T-2t; Mon, 28 Nov 2005 11:04:46 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: svr2/unionfs Date: Mon, 28 Nov 2005 11:04:45 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: svr2/unionfs Thread-Index: AcXzplTjUlyEh5uAQ8unES7o1c+ebAAZR6PA From: "Dave Page" To: "Marc G. Fournier" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.378 required=5 tests=[AWL=0.378] X-Spam-Score: 0.378 X-Spam-Level: X-Archive-Number: 200511/175 X-Sequence-Number: 8890 =20 > -----Original Message----- > From: Marc G. Fournier [mailto:scrappy@postgresql.org]=20 > Sent: 27 November 2005 23:00 > To: Dave Page > Cc: pgsql-www@postgresql.org > Subject: Re: svr2/unionfs >=20 > On Sun, 27 Nov 2005, Dave Page wrote: >=20 > > Hi Marc, > > > > How easy would it be to get rid of the unionfs stuff on=20 > svr2/borg? Given > > that there is only the one VM, can the vserver just be=20 > copied over the > > template? >=20 > the ones we've been doing, and what we'll be doing with teh=20 > dev vserver=20 > tonight, is we copy over a clean, base template (ie. imap,=20 > postfix and=20 > vanilla apache) and then re-add the various applications over=20 > top of it=20 > ... that way it doesn't have any of the extra trash installed ... >=20 > In theory, you could do that where you just copy it over the template=20 > itself ... >=20 > If you want to go the clean route, though, what I'm doing is: >=20 > cp fresh base template > shut down old vServer > rm various top level directories that can be safely removed > - compat, sys, kernel, dev, modules, proc, tmp > cd usr; find . -depth -type d -delete > - clears out the 'ghost directories that unionfs creates > cd .. > find . -print | cpio -pduma ../ >=20 > and then restart ... >=20 > for dev/lists, I'll disable postfix from starting up on=20 > restart, since I=20 > need to re-install the perl modules for majordomo2 ... for wwwmaster,=20 > you'd have to worry about making sure the appropriate php modules are=20 > installed ... >=20 > the 'painful ones' are doing the vServers with Java=20 > installed, since you=20 > have to build it all from scratch, which takes a good long=20 > while ... but=20 > the rest are fairly quick/easy ... Cool. So when can you do it? :-p Regards, Dave.