Matt McCutchen | 1 Nov 2005 03:30
Picon

Re: rsync + incremental changes files

On Mon, 2005-10-31 at 16:59 -0300, Lautaro Di Martino wrote:
> [...] When i try this over ssh, it copies everything again in the
> incremental directory.

I can't reproduce this problem.  When I try the same command (but with
different directories) over ssh, the files are hard linked correctly.

Rsync decides not to transfer a source file's data if the destination
file matches in size and modification time.  Is there something strange
about the filesystem on either end that could be preventing this match?
For example, FAT can only store modification times with even numbers of
seconds.
-- 
Matt McCutchen, ``hashproduct''
hashproduct <at> verizon.net -- http://mysite.verizon.net/hashproduct/

--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Wayne Davison | 1 Nov 2005 03:43
Picon
Favicon

Re: rsync + incremental changes files

On Mon, Oct 31, 2005 at 04:59:38PM -0300, Lautaro Di Martino wrote:
> Then, i have in the "incremental" directory symlinks to every file,
> becouse they aren't modified.

That will nullify the --link-dest option -- if a file exists in the
destination directory, the link-dest directory isn't used, and if the
destination file isn't identical to the source file, it is updated
(note: a symlink is not identical to a non-symlink).  In almost all
cases you want to copy into an empty directory when using --link-dest.
If you want to end up with just the changed files in the incremental
directory, rsync using --compare-dest into an empty directory.

..wayne..
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

MediaVisa.net | 1 Nov 2005 13:19

The Schengen visa and Schengen travel insurance portal !

 
Hello,
 
Please visit the first Schengen visa portal : MediaVisa.net !
 
The site offers :
 
1. free and accurate information on Schengen visas
 
2. a selection of travel insurance policies complying with the european legislation
 
3. an online enquiry solution
 
Very best regards.
 
The team of MediaVisa.net !
 
 
 


Martin
MediaVisa.net

--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
stoil valchkov | 1 Nov 2005 14:05
Picon

error in rsync protocol data stream (code 12) at io.c(359)

Hi,

I've been experiencing this error for 2 weeks now. I don't now ehat could be a reason. I've tried to update with latest sources, but the same result (I'm not sure for line number, but the rest is the same).

rsync: connection unexpectedly closed (5881604 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(359)My synchronized data is about - 6.6GB & lot of files. It used to run without problems but now it can't finish rvrn 1 time. Interesting part is that it breaks often at the same place it was filed previous run (I have a loop in shell script). I've checked source and destination rights - everything should be fine. I've even deleted part of destination data. It didn't succeed to download the deleted data.
So what could be a reason for this problem? Where can I look for possible problems? Is it in rsync or in communication channel (I use ssh tunneling)?
Do you think that rsync server might do this better?

10x in advance!
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Wayne Davison | 1 Nov 2005 17:58
Picon
Favicon

Re: error in rsync protocol data stream

On Mon, Oct 31, 2005 at 01:14:16PM -0500, Kevin Karwaski wrote:
> rsync: connection unexpectedly closed (12 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(189)

As the Issues and Debugging page mentions (see item #3 at this URL:
http://rsync.samba.org/issues.html), this error just means that the
other side went away.  Why?  They didn't tell us.  Either the net
connection closed due to ouside circumstances, or the remote rsync
crashed/failed.  The page gives you several things you can do to help
you test the failure, including upgrading for better remote-error
reporting (the latest is 2.6.6), enabling core dumps, and enabling
remote system-call tracing.

..wayne..
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

samba-bugs | 1 Nov 2005 18:10
Picon
Favicon

[Bug 3229] Don't make backup file if destination file wasn't modified

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

wayned <at> samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

------- Additional Comments From wayned <at> samba.org  2005-11-01 10:10 -------
Just to be clear: rsync already avoids files that it didn't transfer.  If you
aren't preserving timestamps (-t), rsync will update files that haven't really
changed (because their modified times differ).  You can use the -c (--checksum)
option as one (expensive) way to avoid re-sending files that have not changed
their data, but do not match in modified time.

However, you may be suggesting that rsync be able to check if the updated file
that it just created was created a 100% match of the local file's data.  In that
case, it should be possible to go ahead and skip the backup step (as long as
--inplace wasn't specified).  We might not even need an option for this (though
I'd need to think about the ramifications of that).

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

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

samba-bugs | 1 Nov 2005 18:19
Picon
Favicon

[Bug 3202] rsync crash with long directory structure

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

wayned <at> samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

------- Additional Comments From wayned <at> samba.org  2005-11-01 10:19 -------
Your diagnostic work is helpful:  rsync calls a recursive function for every
level downward in the directory hierarchy, so you need enough stack to be able
to descend low enough to the deepest subdir.  The one thing that makes the stack
memory use so large is that rsync is currently allocating a filename buffer on
the stack for every level of directory descent.  I'll check to see if this would
be easy to optimize that.

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

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Antony Lesuisse | 1 Nov 2005 18:43

an "intelligent" rsync script, dealing with renames

This is a late reply to a thread of Tomasz Chmielewsk

http://lists.samba.org/archive/rsync/2005-October/013878.html

He asked if some workaround existed for rename of big files.

I've made a script (python needed on both sides) that links the guessed
files in the right directory and uses the --fuzzy feature of rsync. It
is used to mirror a 100Gb archive where files are often renamed.

Maybe the algorithm could be included in the main rsync codebase. I
never understood why the --fuzzy feature was restricted to the same
directory.

-- 
Antony Lesuisse
Attachment (rsyncpp.py): text/x-python, 3035 bytes
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Lawrence D. Dunn | 1 Nov 2005 19:03
Picon
Favicon

request: add TCP buffer options to rsync CLI?

Dear rsync folks,
   I'd like to request/suggest that cli options to set TCP send/receive buffers
   be added to rsync client-side.

Summary:
   I'm aware that a daemon's config-file can set socket options for 
the server side
   (e.g. SO_SNDBUF, SO_RCVBUF).  That is useful.
   But when trying to get high-throughput rsync over
   long paths (i.e. large bandwidth*delay product), since the client-side cannot
   also set TCP buffers, throughput will be limited.
   There are some OS's that are starting to do receive-side buffer-autotuning
   (latest Linux, and probably Vista).
   But for the rest, I think the most straightforward way to enable 
high throughput
   would be to also let the client-side make TCP buffer requests.

   Request -in-a-nutshell: something like --tcp_sndbuf  and --tcp_rcvbuf options
   that result in the same setsockopt calls as in the rsync socket.c code
   available to rsyncd.conf.

   If I've totally missed something, and such functionality is already
   available, my apologies (but I'd appreciate a pointer!)

******
More detail:
   I was helping resolve a throughput issue between a research network
   in France (Renater), and FermiLab in the US (Tridge- Dan Yokum says "hi!").
   FermiLab distributes data from the Sloane Digital Sky Survey (SDSS)
   using rsync.  (cf. www.sdss.org, and 
http://www.sdss.org/dr4/access/index.html
   for the rsync reference).
   Renater was using rsync to pull large amounts of data from FermiLab 
across a fast,
   long link, and was getting poor throughput (~20mbits/sec).

   The core issues turned out to be
   1. Too-small TCP send-buffer on the FermiLab server side
   (which Dan Y. repaired via rsyncd.conf, and which was later assisted
   by installing a recent Linux that allowed send-buffer-autotuning),
   *and*
   2. Too-small TCP receive-buffer on the client-side.
   I couldn't see how to enlarge TCP buffers from the rsync client-side.
   By using a web100-enabled client machine (web100.org),
   we managed to upsize the TCP receive buffers (and went from 20Mbps 
to ~400Mbps).
   This by grabbing the running rsync process with a web100 tool,
   and manually changing the buffers on-the-fly.

   But the process would be a *lot* simpler if the rsync tool could request
   TCP buffer allocation from the rsync command line.
   The sys-admins would still have to configure large max_tcp_buffers,
   but at least the clients could then request large-buffers when needed.
   Hopefully someday "all" OS's will incorporate TCP receive-buffer-autotuning.
   But in the mean time, I think this would be a significant, 
practical addition.

******
Related side-material:
1. For  '-e ssh' users, i.e. people that want to get high throughput from
   rsync, and encrypt their material, folks should be aware that there
   is currently a fixed-limit on SSL-layer buffers.  So we get TCP buffers
   sized correctly, only to be limited by small-windowing-behavior of 
an "upper layer" (SSL).
   Chris Rapier (PSC) has addressed this, and is working to get his 
fix incorporated
    into the SSL libs.  In the mean time, patch is available via:
   http://www.psc.edu/networking/projects/hpn-ssh/

2. I happen to use rsyncX at home(backups), to handle Apple's HFS+ metadata;
      I appreciate all your work on rsync over the years!

Thanks for considering this,
Larry Dunn
ldunn <at> cisco.com
(Manager, Advanced Architecture, Cisco)
--
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Tomasz Chmielewski | 1 Nov 2005 20:19
Favicon

Re: an "intelligent" rsync script, dealing with renames

Antony Lesuisse schrieb:
> This is a late reply to a thread of Tomasz Chmielewsk
> 
> http://lists.samba.org/archive/rsync/2005-October/013878.html
> 
> He asked if some workaround existed for rename of big files.
> 
> I've made a script (python needed on both sides) that links the guessed
> files in the right directory and uses the --fuzzy feature of rsync. It
> is used to mirror a 100Gb archive where files are often renamed.
> 
> Maybe the algorithm could be included in the main rsync codebase. I
> never understood why the --fuzzy feature was restricted to the same
> directory.

perhaps a short note how to use it would be helpful?

-- 
Tomek
http://wpkg.org
WPKG - software deployment and upgrades with Samba
--

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Gmane