[Bug 2187] rsync large file getting verification failed using -z

samba-bugs at samba.org samba-bugs at samba.org
Wed Dec 29 03:27:38 GMT 2004


https://bugzilla.samba.org/show_bug.cgi?id=2187





------- Additional Comments From qiucheng at csc.com.cn  2004-12-28 20:27 -------
I added --partial to the options and got two files same in size,but not same in 
md5 checksum.

And then I did the following test.
First, I made two test files, test and test3.dat. Test is bigger than 4GB. 
Test3.dat is smaller than 4GB.
Second, I copy the two files to destinction.
Then in the source I added a file at the end of the two files by this command: 
copy /B test+somefile test
Then I rsync them to the destinction:
$ rsync -az -vvv backup at jf-deptest::backup/test* ./
opening tcp connection to jf-deptest port 873
Password:
receiving file list ...
recv_file_name(test)
recv_file_name(test3.dat)
received 2 names
done
recv_file_list done
get_local_name count=2 ./
generator starting pid=1784 count=2
delta transmission enabled
recv_generator(test,0)
generating and sending sums for 0
count=75314 rem=8792 blength=75304 s2length=4 flength=5671378944
recv_files(2) starting
recv_generator(test3.dat,1)
generating and sending sums for 1
count=53255 rem=20480 blength=53248 s2length=4 flength=2835689472
recv_files(test)
test
recv mapped test of size 5671378944
got file_sum
WARNING: test failed verification -- update discarded (will try again).
generate_files phase=1
recv_generator(test,0)
generating and sending sums for 0
count=75314 rem=8792 blength=75304 s2length=16 flength=5671378944
recv_files(test3.dat)
test3.dat
recv mapped test3.dat of size 2835689472
got file_sum
set modtime of .test3.dat.002916 to (1104284751) Wed Dec 29 09:45:51 2004
renaming .test3.dat.002916 to test3.dat
recv_files phase=1
generate_files phase=2
generate_files finished
recv_files(test)
test
recv mapped test of size 5671378944
got file_sum
ERROR: test failed verification -- update discarded.
recv_files finished

sent 2535000 bytes  received 4094667 bytes  1429.89 bytes/sec
total size is 8526412800  speedup is 1286.10
rsync error: some files could not be transferred (code 23) at /home/lapo/packagi
ng/tmp/rsync-2.6.3/main.c(1146)
_exit_cleanup(code=23, file=/home/lapo/packaging/tmp/rsync-2.6.3/main.c, line=11
46): about to call exit(23)

I got the same error. Hope this can help.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list