Re: writefd_unbuffered failed to write 32768 bytes: phase

2005-09-15 Thread Ray Harder
Dag Wieers wieers.com> writes: > > Hi, > > I receive this error when rsyncing. I suspect this is because of network > problems. But the 'Invalid argument' and 'phase unknown' makes it very > unobvious. > > ... > packages/scribus/scribus-1.2.3-0.rf.src.rpm > Read from remote

Re: [Bug 3099] Please parallelize filesystem scan

2005-09-15 Thread Chris Shoemaker
On Thu, Sep 15, 2005 at 04:23:24PM -0700, [EMAIL PROTECTED] wrote: > https://bugzilla.samba.org/show_bug.cgi?id=3099 > > > > > > --- Additional Comments From [EMAIL PROTECTED] 2005-09-15 16:23 --- > Created an attachment (id=1448) > --> (https://bugzilla.samba.org/attachment.cgi?id=1

[Bug 3099] Please parallelize filesystem scan

2005-09-15 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3099 --- Additional Comments From [EMAIL PROTECTED] 2005-09-15 16:23 --- Created an attachment (id=1448) --> (https://bugzilla.samba.org/attachment.cgi?id=1448&action=view) One possible way to reorder the checksum computation. > how could i

[Bug 3099] Please parallelize filesystem scan

2005-09-15 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3099 --- Additional Comments From [EMAIL PROTECTED] 2005-09-15 13:49 --- Pardon me for being dense, but how could it possibly require a change to the rsync protocol for the second host in the sequence to pre-scan its filesystem, so that that

rsync file corruption

2005-09-15 Thread Andy Wong
Hi, I encountered a weird file corruption problem with rsync. I have a perl script that generates and writes a data file to disk, then rsyncs the file to a remote machine. A perl script running on the remote machine periodically reads in the data file. However, occasionally the remote script

Re: [rsync] NetEx HyperIP

2005-09-15 Thread webster
Yes, I have received quite a bit of information on the subject. Thanks. Gary R. Webster "Pheneger, Steve" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/15/05 01:05 AM To: rsync@lists.samba.org cc: Subject:[rsync] NetEx HyperIP Hello! I'm looking t

writefd_unbuffered failed to write 32768 bytes: phase "unknown"

2005-09-15 Thread Dag Wieers
Hi, I receive this error when rsyncing. I suspect this is because of network problems. But the 'Invalid argument' and 'phase unknown' makes it very unobvious. ... packages/scribus/scribus-1.2.3-0.rf.src.rpm Read from remote host rsync.sw.be: Invalid argument rsyn

Re: --backup leaves window where file doesn't exist.

2005-09-15 Thread Wayne Davison
On Thu, Sep 15, 2005 at 10:15:51AM -0700, Wayne Davison wrote: > Attached is a patch that I think effects the change of using link() > instead of rename() when possible. That patch had a couple problems with dealing with boundary conditions (such as cross-device cases and a filesystem that doesn't

Re: --backup leaves window where file doesn't exist.

2005-09-15 Thread Wayne Davison
On Thu, Sep 15, 2005 at 08:49:33AM -0700, Wayne Davison wrote: > (At least, that's all the side-effects I can think of off the top of > my head.) At least one more was that backing up a directory without a --backup-dir still requires using rename(). Attached is a patch that I think effects the ch

Re: --backup leaves window where file doesn't exist.

2005-09-15 Thread Wayne Davison
On Thu, Sep 15, 2005 at 10:38:04AM -0400, Dave Mielke wrote: > The only change, therefore, should be to replace the first rename() > with link(). Since both yield EXDEV, I doubt any more complex change > is necessary. It's more complex than that. If the temp file is not in a position where it can

Re: --backup leaves window where file doesn't exist.

2005-09-15 Thread Dave Mielke
[quoted lines by Dave Mielke on 2005/09/15 at 10:09 -0400] >[quoted lines by Chris Shoemaker on 2005/09/15 at 09:59 -0400] > >>what about when backup-dir is not on same filesystem >>as original? link will give EXDEV, I think. > >Then, as I see it, rsync should go back to using rename but generate

Re: --backup leaves window where file doesn't exist.

2005-09-15 Thread Dave Mielke
[quoted lines by Chris Shoemaker on 2005/09/15 at 09:59 -0400] >what about when backup-dir is not on same filesystem >as original? link will give EXDEV, I think. Then, as I see it, rsync should go back to using rename but generate a warning. -- Dave Mielke | 2213 Fox Crescent | I bel

Re: --backup leaves window where file doesn't exist.

2005-09-15 Thread Chris Shoemaker
On Thu, Sep 15, 2005 at 08:45:00AM -0400, Dave Mielke wrote: > When using --backup, the sequence (as monitored by strace) is: > >rename("/path/to/", "/") >rename("/path/to/..xx", "/path/to/") > > This, of course, leaves a momentary window wherein can't be found. > Might > it be pos

--backup leaves window where file doesn't exist.

2005-09-15 Thread Dave Mielke
When using --backup, the sequence (as monitored by strace) is: rename("/path/to/", "/") rename("/path/to/..xx", "/path/to/") This, of course, leaves a momentary window wherein can't be found. Might it be possible to replace the first rename() with link() instead? This, of course, coul

Re: Bug#324200: rsync: man page contradictory on use of ssh

2005-09-15 Thread Paul Slootman
Hi, I got the following report from a Debian user: On Sat 20 Aug 2005, Ross Boylan wrote: > > The man page says "a modern rsync uses ssh for its communications" > (while noting it may have been configure otherwise, but then goes on > to say (about remote shells) "One common substitute is to use

Re: probbable generator hang bug in rsync

2005-09-15 Thread Steve Sether
> Wow, that's unexpected. I had thought that the connection from the > stunnel process to the rsync process would have been a normal (albeit > local) socket connection. Perhaps it is not? Or perhaps there is a bug > that got triggered by this setup. The way rsync works, it has two > separate pr

Re: probbable generator hang bug in rsync

2005-09-15 Thread Wayne Davison
On Mon, Sep 12, 2005 at 06:04:16PM -0500, Steve Sether wrote: > Could this be a problem with Linux? I've tried killing the > stunnel process (as well as the parent stunnel process) on > the server, and the rsync process persists. Wow, that's unexpected. I had thought that the connection from the

Re: How to do server-side logging with rsync running through a SSH tunnel?

2005-09-15 Thread Wayne Davison
On Wed, Sep 14, 2005 at 04:22:01PM -0300, Igor Hjelmstrom Vinhas Ribeiro wrote: > rsync --config=/home/igor/rsyncd.conf --daemon --server --sender -vr . > ./somefolder/somewhere A modern rsync would reject that command-line as invalid (since --sender and -r aren't daemon options, and paths aren't

Re: RSYNC "make" problems with HP UX 11.0 & GCC 3.3.2

2005-09-15 Thread Wayne Davison
On Wed, Sep 14, 2005 at 03:27:13PM -0400, Poe, David wrote: > /usr/ccs/bin/ld: Unsatisfied symbols: >_U_Qfneg (first referenced in lib/snprintf.o) (code) That's a function from HPUX's quadlib.o library (it negates a "long double" value). It should be a part of your standard C library. I can'

Re: Partial files cause: error in rsync protocol data stream (code 12) at io.c(584)

2005-09-15 Thread Wayne Davison
On Wed, Sep 14, 2005 at 08:51:41PM -0700, Ian Webber wrote: > rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: > Connection reset by peer (104) See the "issues and debugging" page of the website for instructions on how to go about debugging a failure on the remote end

[Bug 3099] Please parallelize filesystem scan

2005-09-15 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=3099 [EMAIL PROTECTED] changed: What|Removed |Added Severity|normal |enhancement Status|NEW

Re: Logging of attribute changes when no data is transferred?

2005-09-15 Thread Wayne Davison
On Wed, Sep 14, 2005 at 06:53:46PM -0400, Dave Mielke wrote: > How can I get rsync to write a log record (like --log-format does for > data transfer) when no content needs to be transferred but attributes > (owner, group, mode, ...) are changed? Use -i or put %i into your --log-format. See the 2.