From owner-freebsd-questions@FreeBSD.ORG Tue Oct 24 19:30:20 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 1E9EA16A417 for ; Tue, 24 Oct 2006 19:30:20 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2414B43DA8 for ; Tue, 24 Oct 2006 19:30:14 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id k9OJROqF084436; Tue, 24 Oct 2006 15:27:24 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id k9OJRNHv084435; Tue, 24 Oct 2006 15:27:23 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 24 Oct 2006 15:27:23 -0400 From: Jerry McAllister To: Eric Message-ID: <20061024192723.GB84382@gizmo.acns.msu.edu> References: <453E57F8.5030101@mikestammer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <453E57F8.5030101@mikestammer.com> User-Agent: Mutt/1.4.2.2i Cc: James Smallacombe , 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 19:30:20 -0000 On Tue, Oct 24, 2006 at 01:14:16PM -0500, Eric wrote: > 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. True, but I think the poster was suggesting that dump/restore is a better way than using tar. As for the core dump, I don't know. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"