Copying binaries to new server

James Smallacombe james at
Tue Oct 24 18:13:17 UTC 2006

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/
x /usr/lib/
x /usr/lib/libutil.a
x /usr/lib/
x /usr/lib/libypclnt.a
x /usr/lib/
x /usr/lib/
x /usr/lib/libalias.a
x /usr/lib/
x /usr/lib/libarchive.a
x /usr/lib/ 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                        Valley in PA, NJ and DE
PlantageNet Internet Ltd.  

More information about the freebsd-questions mailing list