Copying binaries to new server
heli at mikestammer.com
Tue Oct 24 18:14:32 UTC 2006
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?
> James Smallacombe Internet Access for The Delaware
> james at 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.
More information about the freebsd-questions