Victor Munoz <vmu...@macul.ciencias.uchile.cl> wrote:
>Both replicas are very large, and the few listed changes showed no
>large files, or so I thought. But it turns out I was wrong, and a 20M
>file was involved. I deleted the cache file, and reconstructed the
>mirror, and I finally discovered that unison hangs when this
>particular large files is involved. There are other large (and larger,
>4 times larger, for instance) files in the replicas, but they are
>identical, and unison doesn't complain. Only with this file, which
>differs. 
>
>So I tried rsyncinc another file, 23 M in size (with --progress
>option), and surprise, it stops when 11% transfer is reached. Tried
>with scp, and same magic number: 11% and it stops.

What happens if you try to copy this file locally or on some other
device or force reading it with, for example, dd (dd
if=/path/to/yourfile of=/dev/null). Maybe the storage device on which
it is located has some bad blocks. You could also try to run scp
within strace to see where or what hangs.

>So now I think I have a problem with transfering large files. Somehow
>the upgrade caused this, because almost all previous transfers
>involved that 20M file, but now I am unable to copy this and other
>large files between both machines. 

Is only this one file the problem or maybe other files as well? What
happens if you copy (not move!) that file to another location on your
drive and then try to scp it over? Is the content of the file thus
that you could send it via plain netcat? If so, did you try something
along the lines of:

destination# nc -l yourport | md5sum

source# dd if=/path/to/mysterious/file | nc otherhost.example.org yourport

Please note that I have not tested the commands given here, so you
might want to have a look at the manpages to make sure you got them correct.

Best regards,

Claudius
-- 
If only you had a personality instead of an attitude.
Please use GPG: ECB0C2C7 4A4C4046 446ADF86 C08112E5 D72CDBA4
http://chubig.net/ http://nightfall.org



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110726152411.23a3d...@ares.home.chubig.net

Reply via email to