samba-bugs at samba.org
2014-Jan-31  11:51 UTC
[Bug 10409] New: issue with "Number of deleted files"
https://bugzilla.samba.org/show_bug.cgi?id=10409
           Summary: issue with "Number of deleted files"
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: irina.cureraru at alcatel-lucent.com
         QAContact: rsync-qa at samba.org
Hello,
I'm trying to rsync files between two servers(rsync is installed on both
servers) with the command
/opt/swe/tools/ext/rsync-3.1.0/i386-solaris2.10/bin/rsync
--rsync-path=/opt/alct/bin/rsync -e "ssh -l ****" --delete
--delete-after
--stats -uvazhiH  /opt/swe/install/tools/ 
1.0.0.0:/opt/swe/install/tools_freeware/
Password:
With the following output:
building file list ... done
.d..t...... ./
*deleting   file1
*deleting   file2.log
*deleting   file3
Number of files: 4 (reg: 3, dir: 1)
Number of created files: 0
Number of regular files transferred: 0
Total file size: 1.08M bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 133
Total bytes received: 18
sent 133 bytes  received 18 bytes  33.56 bytes/sec
total size is 1.08M  speedup is 7,165.49
As you can see it doesn't display "Number of deleted files".
If I realize synchronization only on one server
 /opt/swe/tools/ext/rsync-3.1.0/i386-solaris2.10/bin/rsync -uvazhiH --delete
--delete-after --stats  -e "ssh -l ****" /opt/swe/install/tools/
/opt/swe/install/files/
 the output is
 building file list ... done
.d..t...... ./
*deleting   file1.txt
*deleting   file2
*deleting   file3.log
*deleting   file4.txt
*deleting   file5.log
*deleting   file6
*deleting   file7
Number of files: 4 (reg: 3, dir: 1)
Number of created files: 0
Number of deleted files: 7 (reg: 7)
Number of regular files transferred: 0
Total file size: 1.08M bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 125
Total bytes received: 18
sent 125 bytes  received 18 bytes  286.00 bytes/sec
total size is 1.08M  speedup is 7,566.36
Synchronization is performed correctly in both cases, but the output message in
case of synchronizing files between two servers it`s wrong(doesn't display
"Number of deleted files"). Kindly consider that it's a very
important issue.
Looking forward to any suggestion or advices.
Best Regards,
Irina CURERARU
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2014-Jan-31  16:05 UTC
[Bug 10409] issue with "Number of deleted files"
https://bugzilla.samba.org/show_bug.cgi?id=10409 --- Comment #1 from Kevin Korb <rsync at sanitarium.net> 2014-01-31 16:05:33 UTC --- ssh user at 1.0.0.0 /opt/alct/bin/rsync --version If the remote version isn't also 3.1.0 then it does not have the #files deleted feature in --stats. If rsync sees an older version on the remote then it acts like the older version to preserve compatibility. Also btw, you can drop the entire -e "ssh -l username" and instead just use username at 1.0.0.0:/opt/swe/install/tools_freeware/ -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2014-Feb-24  19:58 UTC
[Bug 10409] issue with "Number of deleted files"
https://bugzilla.samba.org/show_bug.cgi?id=10409
Wayne Davison <wayned at samba.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
--- Comment #2 from Wayne Davison <wayned at samba.org> 2014-02-24
19:58:06 UTC ---
Yeah, rsync can't output that line if an older rsync is being used on one
end
of the transfer.  This is because the stats values being communicated from the
generator -> sender -> receiver don't have that value in an older
protocol.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.