Hi, I was getting an error when uploading Knoppix ISO images with compression with Rsync. Here is the error as I recall it: tomg@nova:~/mylibrary$ rsync -rtlvessh --partial --delete --delete-after --bwlimit=8 /extra/library academus:/var/pub building file list ... done library/software/Knopper,_Klaus/ library/software/Knopper,_Klaus/KNOPPIX_V3.2-2003-04-18-EN.iso deflate on token returned 0 (16384 bytes left) [ some other line mentioning token.c ] tomg@nova:~/mylibrary$ Unfortunately I can't reproduce it right now for a set of complicated reasons: - Rsync will not produce the error if the remote file exists not (it will try and upload) - Rsync will not produce the error if the date and size are the same (it will leave the file alone) - Rsync will not produce the error if the local or remote timestamp is newer (it will upload the file again![0]) - Rsync will not produce the error on anything other than a few of the Knoppix ISO images, which are between 695MiB and 700MiB - Due to the needless upload item mentioned above and use of the --partial command line option the image got clobbered on the remote host on which I was originally seeing the error and it will take me two days to upload to try again, which I don't plan to do - My local area network host with Rsync has never produced the error (probably because I never used the -z command line option) and refuses to do so now (even with the -z command line option) due to the needless upload item mentioned above I got the error on... - version 2.3.2-1.3 on Debian testing - version 2.5.5-0.1 on Debian testing - version 2.5.6-0.1 recompiled for Debian testing - version 2.5.5-1 on Red Hat 8.0 \0 I think I'll file a bug report on this if it happens on the latest version and I'm not as pooped as I am now -- Tom Goulet, tomg@em.ca, D8BAD3BC, http://web.em.ca/~tomg/contact.html I usually read no mail which is unsolicited and bulk, is not exclusively in plain text, has advertising footers, is top-posted, or has bad line wrap. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20030421/6957a5f4/attachment.bin
> I was getting an error when uploading Knoppix ISO images with > compression with Rsync.Here is a brand-spanking new transcript: tomg@nova:/extra/library/software/Knopper,_Klaus$ touch KNOPPIX_V3.2-2003-04-18-EN.iso tomg@nova:/extra/library/software/Knopper,_Klaus$ rsync -zvvvessh KNOPPIX_V3.2-2003-04-18-EN.iso teep:library/software/Knopper,_Klaus > ~/tmp/rsync_debug.1 2>&1tomg@nova:/extra/library/software/Knopper,_Klaus$ Meanwhile, that rsync_debug.1 file has: opening connection using ssh teep rsync --server -vvvz . library/software/Knopper,_Klaus make_file(4,KNOPPIX_V3.2-2003-04-18-EN.iso) expand file_list to 4000 bytes, did move send_file_list done send_files starting server_recv(2) starting pid=32396 recv_file_name(KNOPPIX_V3.2-2003-04-18-EN.iso) received 1 names recv_file_list done get_local_name count=1 library/software/Knopper,_Klaus generator starting pid=32396 count=1 delta transmission enabled recv_generator(KNOPPIX_V3.2-2003-04-18-EN.iso,0) generating and sending sums for 0 recv_files(1) starting send_files(0,KNOPPIX_V3.2-2003-04-18-EN.iso) send_files mapped KNOPPIX_V3.2-2003-04-18-EN.iso of size 729716736 calling match_sums KNOPPIX_V3.2-2003-04-18-EN.iso KNOPPIX_V3.2-2003-04-18-EN.iso built hash table hash search b=16384 len=729716736 match at 0 last_match=0 j=0 len=16384 n=0 [ a gazillion more "match" lines ] match at 44744704 last_match=44744704 j=2731 len=16384 n=0 deflate on token returned 0 (16384 bytes left) rsync error: error in rsync protocol data stream (code 12) at token.c(288) _exit_cleanup(code=12, file=token.c, line=288): about to call exit(12) There. Both ends are Rsync 2.5.6. When I remove the -z command line option there is no error. -- Tom Goulet, tomg@em.ca, D8BAD3BC, http://web.em.ca/~tomg/contact.html I usually read no mail which is unsolicited and bulk, is not exclusively in plain text, has advertising footers, is top-posted, or has bad line wrap. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20030422/35b9c67c/attachment.bin