[KLUG Members] Is tar broken?

John Pesce members@kalamazoolinux.org
Thu, 8 Aug 2002 09:15:57 -0400 (EDT)


Hi all,

I am adding a second server and I wanted to move the /home directory to
the new server. I nfs mounted the /home of server1 under /work/home of
server2. It is a 22G partition.

I initially tried:

> cd /work
> cp -R home /

but this seemed to hang half-way through.
Then I tried:

> cd /work
> tar -cvf - home | tar -xvf - -C /

and it completed. BUT, then I did

> cd /work
> diff -r home /home > /tmp/list

and within /tmp/list I got a few lines that looked like this:

Binary files home/user1/file.tar and /home/user1/file.tar differ


Is there something wrong with what I did????
How could this happen???