X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DBA3DD7038 for ; Sun, 27 Nov 2005 19:00:11 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45227-03 for ; Sun, 27 Nov 2005 19:00:12 -0400 (AST) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id 41B26D7FBC for ; Sun, 27 Nov 2005 19:00:09 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by hub.org (Postfix) with ESMTP id 78922C08BED for ; Sun, 27 Nov 2005 19:00:11 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 44170-04; Sun, 27 Nov 2005 19:00:08 -0400 (AST) Received: from ganymede.hub.org (blk-222-82-85.eastlink.ca [24.222.82.85]) by hub.org (Postfix) with ESMTP id 66BB1C08BF8; Sun, 27 Nov 2005 19:00:08 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id D7A0E37AD1; Sun, 27 Nov 2005 19:00:10 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id D3DFB3720E; Sun, 27 Nov 2005 19:00:10 -0400 (AST) Date: Sun, 27 Nov 2005 19:00:10 -0400 (AST) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Dave Page cc: pgsql-www@postgresql.org Subject: Re: svr2/unionfs In-Reply-To: Message-ID: <20051127185236.W1053@ganymede.hub.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.57 required=5 tests=[AWL=0.570] X-Spam-Score: 0.57 X-Spam-Level: X-Archive-Number: 200511/162 X-Sequence-Number: 8877 On Sun, 27 Nov 2005, Dave Page wrote: > Hi Marc, > > How easy would it be to get rid of the unionfs stuff on svr2/borg? Given > that there is only the one VM, can the vserver just be copied over the > template? the ones we've been doing, and what we'll be doing with teh dev vserver tonight, is we copy over a clean, base template (ie. imap, postfix and vanilla apache) and then re-add the various applications over top of it ... that way it doesn't have any of the extra trash installed ... In theory, you could do that where you just copy it over the template itself ... If you want to go the clean route, though, what I'm doing is: 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 ../ and then restart ... for dev/lists, I'll disable postfix from starting up on restart, since I need to re-install the perl modules for majordomo2 ... for wwwmaster, you'd have to worry about making sure the appropriate php modules are installed ... the 'painful ones' are doing the vServers with Java installed, since you have to build it all from scratch, which takes a good long while ... but the rest are fairly quick/easy ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664