Hi again all..
When using rsync 3.0 to sync files between 2 local directories, it works as
i expect it, but when the destination folder is a mounted smb share, it
always copies over the files even though they already exist on the
destination.
Any ideas on why this is happening? even using the same options, but with a
different destination path.
I have tried using -vvv, but it doesn't make much sense to me..
Below is the logs:
to local folder:
[client] add_rule(- *:*)
sending incremental file list
[sender] make_file(backup,*,2)
send_file_list done
[sender] make_file(backup/EDC3.1.4.dmg.zip,*,2)
[sender] make_file(backup/SLES-10-x86-CD1.iso,*,2)
[sender] make_file(backup/stage2.img,*,2)
[sender] make_file(backup/wget,*,2)
send_files starting
server_recv(2) starting pid=14511
recv_file_name(backup)
received 1 names
recv_file_list done
recv_file_name(backup/EDC3.1.4.dmg.zip)
recv_file_name(backup/SLES-10-x86-CD1.iso)
recv_file_name(backup/stage2.img)
recv_file_name(backup/wget)
received 4 names
recv_file_list done
get_local_name count=5 backup.dest
generator starting pid=14511
delta-transmission disabled for local transfer or --whole-file
recv_generator(backup,1)
recv_generator(backup,2)
send_files(2, backup)
.d backup/
delete_in_dir(backup)
[generator] make_file(backup/EDC3.1.4.dmg.zip,*,2)
[generator] make_file(backup/SLES-10-x86-CD1.iso,*,2)
[generator] make_file(backup/stage2.img,*,2)
[generator] make_file(backup/wget,*,2)
recv_generator(backup/EDC3.1.4.dmg.zip,3)
send_files(3, backup/EDC3.1.4.dmg.zip)
.f backup/EDC3.1.4.dmg.zip
recv_generator(backup/SLES-10-x86-CD1.iso,4)
send_files(4, backup/SLES-10-x86-CD1.iso)
.f backup/SLES-10-x86-CD1.iso
recv_generator(backup/stage2.img,5)
send_files(5, backup/stage2.img)
.f backup/stage2.img
recv_generator(backup/wget,6)
send_files(6, backup/wget)
.f backup/wget
recv_files(1) starting
generate_files phase=1
send_files phase=1
recv_files(backup)
recv_files(backup/EDC3.1.4.dmg.zip)
recv_files(backup/SLES-10-x86-CD1.iso)
recv_files(backup/stage2.img)
recv_files(backup/wget)
recv_files phase=1
generate_files phase=2
send_files phase=2
send files finished
total: matches=0 hash_hits=0 false_alarms=0 data=0
recv_files phase=2
generate_files phase=3
recv_files finished
generate_files finished
Number of files: 5
Number of files transferred: 0
Total file size: 781.93M bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 145
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 174
Total bytes received: 28
sent 174 bytes received 28 bytes 404.00 bytes/sec
total size is 781.93M speedup is 3870932.77
_exit_cleanup(code=0, file=main.c, line=1031): about to call exit(0)
to smb mounted folder:
[client] add_rule(- *:*)
sending incremental file list
[sender] make_file(backup,*,2)
send_file_list done
[sender] make_file(backup/EDC3.1.4.dmg.zip,*,2)
[sender] make_file(backup/SLES-10-x86-CD1.iso,*,2)
[sender] make_file(backup/stage2.img,*,2)
[sender] make_file(backup/wget,*,2)
send_files starting
server_recv(2) starting pid=14520
recv_file_name(backup)
received 1 names
recv_file_list done
recv_file_name(backup/EDC3.1.4.dmg.zip)
recv_file_name(backup/SLES-10-x86-CD1.iso)
recv_file_name(backup/stage2.img)
recv_file_name(backup/wget)
received 4 names
recv_file_list done
get_local_name count=5 smbmount/test
generator starting pid=14520
delta-transmission disabled for local transfer or --whole-file
recv_generator(backup,1)
recv_generator(backup,2)
recv_files(1) starting
send_files(2, backup)
.d..t....... backup/
set modtime of backup to (1209510531) Wed Apr 30 09:08:51 2008
delete_in_dir(backup)
[generator] make_file(backup/stage2.img,*,2)
recv_files(backup)
[generator] make_file(backup/EDC3.1.4.dmg.zip,*,2)
[generator] make_file(backup/wget,*,2)
[generator] make_file(backup/SLES-10-x86-CD1.iso,*,2)
recv_generator(backup/EDC3.1.4.dmg.zip,3)
send_files(3, backup/EDC3.1.4.dmg.zip)
send_files mapped backup/EDC3.1.4.dmg.zip of size 153588
calling match_sums backup/EDC3.1.4.dmg.zip>f..t....... backup/EDC3.1.4.dmg.zip
sending file_sum% 0.00kB/s 0:00:00
false_alarms=0 hash_hits=0 matches=0
153.59K 100% 28.81MB/s 0:00:00 (xfer#1, to-check=3/5)
sender finished backup/EDC3.1.4.dmg.zip
recv_generator(backup/SLES-10-x86-CD1.iso,4)
send_files(4, backup/SLES-10-x86-CD1.iso)
send_files mapped backup/SLES-10-x86-CD1.iso of size 693221376
calling match_sums backup/SLES-10-x86-CD1.iso>f..tp...... backup/SLES-10-x86-CD1.iso
sending file_sum% 13.18MB/s 0:00:00
false_alarms=0 hash_hits=0 matches=0
693.22M 100% 14.06MB/s 0:00:47 (xfer#2, to-check=2/5)
sender finished backup/SLES-10-x86-CD1.iso
recv_generator(backup/stage2.img,5)
send_files(5, backup/stage2.img)
.f...p...... backup/stage2.img
recv_generator(backup/wget,6)
send_files(6, backup/wget)
.f backup/wget
generate_files phase=1
recv_files(backup/EDC3.1.4.dmg.zip)
recv mapped backup/EDC3.1.4.dmg.zip of size 153588
got file_sum
set modtime of backup/.EDC3.1.4.dmg.zip.4vFlFF to (1207087625) Wed Apr 2
09:07:05 2008
renaming backup/.EDC3.1.4.dmg.zip.4vFlFF to backup/EDC3.1.4.dmg.zip
recv_files(backup/SLES-10-x86-CD1.iso)
recv mapped backup/SLES-10-x86-CD1.iso of size 693221376
got file_sum
set modtime of backup/.SLES-10-x86-CD1.iso.brvO9j to (1189476723) Tue Sep 11
12:12:03 2007
renaming backup/.SLES-10-x86-CD1.iso.brvO9j to backup/SLES-10-x86-CD1.iso
send_files phase=1
set modtime of backup to (1209510531) Wed Apr 30 09:08:51 2008
recv_files(backup/stage2.img)
recv_files(backup/wget)
recv_files phase=1
generate_files phase=2
send_files phase=2
send files finished
total: matches=0 hash_hits=0 false_alarms=0 data=693374964
recv_files phase=2
generate_files phase=3
recv_files finished
generate_files finished
Number of files: 5
Number of files transferred: 2
Total file size: 781.93M bytes
Total transferred file size: 693.37M bytes
Literal data: 693.37M bytes
Matched data: 0 bytes
File list size: 145
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 693.46M
Total bytes received: 60
sent 693.46M bytes received 60 bytes 14.60M bytes/sec
total size is 781.93M speedup is 1.13
_exit_cleanup(code=0, file=main.c, line=1031): about to call exit(0)
-------------- next part --------------
HTML attachment scrubbed and removed