[Bug 3305] New: -t copies always too many files to mounted windows volume -c copies no files

bugzilla-daemon at dp3.samba.org bugzilla-daemon at dp3.samba.org
Wed Dec 7 09:42:45 GMT 2005


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

           Summary: -t copies always too many files to mounted windows
                    volume -c copies no files
           Product: rsync
           Version: 2.6.7
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: katzlbtjunk at hotmail.com
         QAContact: rsync-qa at samba.org


rsync -t does not work on a local rsync to a mounted windows directory.
rsync copies the same files (about 50%) always and everytime.
Maybe the strange Creation time mismatch (20 sec in the future on windows) is
responsible. But that is a guess.

=== FSTAB:
//swat/Intranet /mnt/backup smbfs auto,credentials=/etc/fstab.credentials 0 0
Windows server OS: probably windows 2000

=== Try1:
swale # rsync -rt --stats /srv/www/htdocs /mnt/backup/www

Number of files: 3223
Number of files transferred: 1337
Total file size: 27807498 bytes
Total transferred file size: 15169982 bytes
Literal data: 15169982 bytes
Matched data: 0 bytes
File list size: 69523
Total bytes sent: 15299405
Total bytes received: 26760

sent 15299405 bytes  received 26760 bytes  519531.02 bytes/sec
total size is 27807498  speedup is 1.81

== Try2:
swale # rsync -rc --stats /srv/www/htdocs /mnt/backup/www

Number of files: 3223
Number of files transferred: 0
Total file size: 27807498 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 115875
Total bytes sent: 115887
Total bytes received: 20

sent 115887 bytes  received 20 bytes  3679.59 bytes/sec
total size is 27807498  speedup is 239.91

=== Try3:
swale # rsync -rt --stats /srv/www/htdocs /mnt/backup/www

Number of files: 3223
Number of files transferred: 1337
Total file size: 27807498 bytes
Total transferred file size: 15169982 bytes
Literal data: 15169982 bytes
Matched data: 0 bytes
File list size: 69523
Total bytes sent: 15299405
Total bytes received: 26760


== strange result for testing time sync problems * see creation time in the
future ===
swale # date ; touch foo.junk ; date
Wed Dec  7 10:05:17 CET 2005
Wed Dec  7 10:05:17 CET 2005

Windows explorer about foo.junk:
Creation: Wed Dec  7 10:05:35 CET 2005
Modified: Wed Dec  7 10:05:16 CET 2005
Access: Wed Dec  7 10:05:16 CET 2005


===========================================
swale # rsync --version
rsync  version 2.6.3  protocol version 28
Copyright (C) 1996-2004 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, acls, symlinks,
batchfiles, 
              inplace, IPv6, 64-bit system inums, 64-bit internal inums, SLP

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.


-- 
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