Dear all,
I am expieriencing a strange problem when using the secure copy command 'scp'. I use the following command:
~> scp -rp 10.3.10.8:/home/uleopold/ .
The directory to copy has a size of 14GB. The starnge things is that it does not stop copying when all files have been transfered but it starts again and hence the directory on the new host grows constantly. Once I ended up with a size of 61GB instead of 14GB.
I tried to start scp from both machines and transferred it always to the same machine. I do not know how this can happen. I also tried a smaller single directory. For that on eit worked without any problems. It seems as iff it followed a link and is following this link infinitely. ut I do not have any link in the home directory. Then only thing I can think of is that /home/uleopold/ or possibly one of its subdirectories on the 10.3.10.8 system has some type of a problem,
On Thursday 01 September 2005 7:42 am, Ulrich Leopold wrote: possibly a hard or symbolic link to self (other than .). You might want to use the -v (verbose switch). Also, you might also want to log into the 10.3.10.8 system, and try using the local cp command: cp -pr /home/uleopold/ /var/tmp If cp exhibits the same behavior, I am sure that /home/uleopold tree has some problems. Another possibility is to use rsync: rsync -vaz -e ssh 10.3.10.8:/home/uleopold/ . The -v flag should give you some additional information. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9