From owner-freebsd-questions@FreeBSD.ORG Tue Oct 24 18:14:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6060416A415 for ; Tue, 24 Oct 2006 18:14:32 +0000 (UTC) (envelope-from heli@mikestammer.com) Received: from smtp114.sbc.mail.mud.yahoo.com (smtp114.sbc.mail.mud.yahoo.com [68.142.198.213]) by mx1.FreeBSD.org (Postfix) with SMTP id 07B7B43D5F for ; Tue, 24 Oct 2006 18:14:24 +0000 (GMT) (envelope-from heli@mikestammer.com) Received: (qmail 68385 invoked from network); 24 Oct 2006 18:14:24 -0000 Received: from unknown (HELO mail.mikestammer.com) (mikestammer@sbcglobal.net@70.131.98.204 with login) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 24 Oct 2006 18:14:24 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.mikestammer.com (Postfix) with ESMTP id 1A08C5D; Tue, 24 Oct 2006 13:14:23 -0500 (CDT) X-Virus-Scanned: amavisd-new at mikestammer.com Received: from mail.mikestammer.com ([127.0.0.1]) by localhost (gondolin.middleearth.mikestammer.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eOFknSwsO34q; Tue, 24 Oct 2006 13:14:16 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eric) by mail.mikestammer.com (Postfix) with ESMTP id BBCA04A; Tue, 24 Oct 2006 13:14:16 -0500 (CDT) Message-ID: <453E57F8.5030101@mikestammer.com> Date: Tue, 24 Oct 2006 13:14:16 -0500 From: Eric User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: James Smallacombe References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Copying binaries to new server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 18:14:32 -0000 James Smallacombe wrote: > On Tue, 24 Oct 2006, Eric wrote: > >> James Smallacombe wrote: >>> A couple of months ago, I spent a couple of weeks compiling and configuring >>> the latest FBSD, apache, perl, qmail and the bazzilion modules, patches and >>> addon apps that go with all of it on an existing server, and ironing out all >>> the upgrade issues that entailed. >>> >>> Since then, due to apparent hardware problems with that server, I just put >>> together a new server using new hardware. >>> >>> The old hardware was dual P-III, Adaptec SCSI RAID 1 >>> >>> The new hardware is single Xeon, LSI SAS RAID 1 >>> >>> Both running 6.2-Prerelease. >>> >>> Is there any reason I shouldn't just copy all of /usr and /var from the old >>> server, or do I really need to compile everything anew and sort out any >>> simlinks to other file systems? >>> >>> Please copy me directly, since I am no subscribed >> why not just a dump/restore of the file systems in question? > > Here's another issue I just ran into while trying to do just that, using tar: > > su-2.05b# tar xpPvfz > > x /usr/lib/libtacplus.so.2 > x /usr/lib/libtacplus.so > x /usr/lib/libutil.a > x /usr/lib/libutil.so > x /usr/lib/libypclnt.a > x /usr/lib/libypclnt.so.2 > x /usr/lib/libypclnt.so > x /usr/lib/libalias.a > x /usr/lib/libalias.so > x /usr/lib/libarchive.a > x /usr/lib/libarchive.so.2Bus error: 10 (core dumped) > > I take it the core dump occured because I was trying to overwrite a lib that > was in use by tar, right? Is there a good way around this? > > TIA, > > James Smallacombe Internet Access for The Delaware > james@pil.net Valley in PA, NJ and DE > PlantageNet Internet Ltd. http://www.pil.net > ========================================================================= > dump and restore do not have anything to do with tar. check out the handbook. it has some good info.