bugzilla-daemon@dp3.samba.org
2005-Dec-07 09:43 UTC
[Bug 3305] New: -t copies always too many files to mounted windows volume -c copies no files
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@samba.org ReportedBy: katzlbtjunk@hotmail.com QAContact: rsync-qa@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.
bugzilla-daemon@dp3.samba.org
2005-Dec-07 12:12 UTC
[Bug 3305] -t copies always too many files to mounted windows volume -c copies no files
https://bugzilla.samba.org/show_bug.cgi?id=3305 ------- Comment #1 from vanes002@umn.edu 2005-12-07 05:10 MST ------- The comment about always copying 50% of the files to a mounted Windows directory pretty much identifies the problem. See the --modify-window option for the solution. -- 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.
bugzilla-daemon@dp3.samba.org
2005-Dec-14 19:29 UTC
[Bug 3305] -t copies always too many files to mounted windows volume -c copies no files
https://bugzilla.samba.org/show_bug.cgi?id=3305 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #2 from wayned@samba.org 2005-12-14 12:27 MST ------- As John indicated, using --modify-window=1 should avoid this deficiency in the Windows filesystem. -- 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.