Date: Tue, 24 Oct 2006 13:14:16 -0500 From: Eric <heli@mikestammer.com> To: James Smallacombe <james@pil.net> Cc: freebsd-questions@freebsd.org Subject: Re: Copying binaries to new server Message-ID: <453E57F8.5030101@mikestammer.com> In-Reply-To: <Pine.BSF.4.44.0610241411130.55341-100000@richard2.pil.net> References: <Pine.BSF.4.44.0610241411130.55341-100000@richard2.pil.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > <snip thousands of lines> > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?453E57F8.5030101>