samba-bugs at samba.org
2013-Dec-19 11:16 UTC
[Bug 10334] New: rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334 Summary: rsync doesn't log hardlink-copies using --link-dest Product: rsync Version: 3.0.9 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: Kontakt at Doebeling.de QAContact: rsync-qa at samba.org If I perform a backup like this, new files in $dest which hardlink to $link doesn't result any output on tty or logfile, even if I use -v or -i. rsync -ahv --link-dest=$link $source $dest ----------------------- EXAMPLE: Without using --link-dest => everything works fine rsync -ahv $source $dest sending incremental file list source/ source/file1 source/file2 source/file3 source/file4 sent 420 bytes received 92 bytes 1.02K bytes/sec total size is 130 speedup is 0.25 ----------------------- EXAMPLE: Using --link-dest => Files get copied (hardlinked), but I don't get any information: rsync -ahv --link-dest=$link $source $dest sending incremental file list source/ sent 118 bytes received 16 bytes 268.00 bytes/sec total size is 130 speedup is 0.97 -- 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
2013-Dec-19 11:21 UTC
[Bug 10334] rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334 --- Comment #1 from Paul Slootman <paul at debian.org> 2013-12-19 11:21:42 UTC --- Have you tried -i option? (itemize-changes) -- 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
2013-Dec-19 11:34 UTC
[Bug 10334] rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334 --- Comment #2 from Andreas <Kontakt at Doebeling.de> 2013-12-19 11:34:07 UTC --- (In reply to comment #1)> Have you tried -i option? (itemize-changes)Thanks for your quick response. Yes, I did, but it makes no difference ------- rsync -ahiv --link-dest=$link $source $dest sending incremental file list .d..t...... source/ sent 118 bytes received 16 bytes 268.00 bytes/sec total size is 130 speedup is 0.97 ------- -- 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
2013-Dec-19 17:56 UTC
[Bug 10334] rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334 --- Comment #3 from Kevin Korb <rsync at sanitarium.net> 2013-12-19 17:56:05 UTC --- Specify --itemize-changes twice. This works for -v as well but it works better on --itemize-changes. -- 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
2013-Dec-19 23:10 UTC
[Bug 10334] rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #4 from Wayne Davison <wayned at samba.org> 2013-12-19 23:10:03 UTC --- This is as-designed, since a link-dest copy outputs just the changes. Think of it as "what would rsync output if we actually copied into the link-dest dir", but with the copy going into a new directory. Sadly, the --delete option does not work properly (it doesn't mention files that went away compared to the prior link-dest dir). As mentioned, specifying -ii mentions even unchanged files, and this output will output enough information for you to be able to see that they are being hard-linked. -- 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-20 12:59 UTC
[Bug 10334] rsync doesn't log hardlink-copies using --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=10334 --- Comment #5 from Andreas <ad at 1601.com> 2014-01-20 12:59:33 UTC --- Thank you very much for your support! -ii results much more output as I wanted to, but it seems that there is no better way. Would be a nice fix in further versions. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Apparently Analagous Threads
- Bug#666024: rsync --link-dest can incorrectly hardlink together destination files
- DO NOT REPLY [Bug 4793] New: link-dest hardlink does not always work well with -o -g -p
- Test case for hard link failure
- --link-dest copying modified files
- [Bug 9749] New: hardlinkes files are copies instat of make a link