rsync 2.5.1 on NT/cygwin: can't handle filenames with non-latin1 character set
Hi, 2nd problem when using rsync on NT: rsync can't handle filenames with "strange" characters in the filename; no remote system needs to be involved here, happens even rsync between two local directories: $ rsync -av /cygdrive/c/data/transfer/Marisa/ Marisa/ building file list ... readlink Imagelep. 10?1: No such file or directory readlink Imagelep. 11?2: No such file or directory readlink Imagelep. 9?1: No such file or directory done Marisa// rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(151) wrote 84 bytes read 20 bytes 208.00 bytes/sec total size is 0 speedup is 0.00 rsync error: partial transfer (code 23) at main.c(537) Those streange characters are mostly in files that have been created using a mac. I wouldn't mind some kind of name-mangling that removes these characters as long as the data in the files gets transfered correctly. Any Idea how to work around this problem? Thanks, Martin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
rsync 2.5.1 on NT/cygwin: transfer via ssh stalls
Hi, when trying to rsync a directory tree between linux and win2k via ssh, the transfer stalls after a few MB. using the same command line over rsh instead of ssh works. rsync -av -e ssh Administrator@mykw2server:/usr/ usr/ ssh version: 3.1p1 on both sides rsync version 2.5.1 on both sides. Any idea why this doesn't work? Thanks, Martin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
rsync raising an IO error for an excluded file
Hi, when syncing from windows NT/cygwin to linux usimg rsync 2.5.2 I get the following error: readlink pagefile.sys: Permission denied IO error encountered - skipping file deletion pagefile.sys is however in the exclude-list, so I think rsync shouldn't care that it can't stat the file. The code fragment responsible is if (readlink_stat(fname, &st, linkbuf) != 0) { int save_errno = errno; if ((errno == ENOENT) && copy_links && !noexcludes) { /* symlink pointing nowhere, see if excluded */ memset((char *) &st, 0, sizeof(st)); if (check_exclude_file(f, fname, &st)) { /* file is excluded anyway, ignore silently */ return NULL; } } io_error = 1; rprintf(FERROR, "readlink %s: %s\n", fname, strerror(save_errno)); return NULL; } Shouldn't/couldn't the "ignore silently if excluded" be specified less strictly to cover the above "permission denied" error as well? Thanks, Martin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
AW: rsync raising an IO error for an excluded file
Hi Martin, > > > Shouldn't/couldn't the "ignore silently if excluded" be > specified less > > > strictly to cover the above "permission denied" error as well? > > > > I think you're right. Martin Pool, what do you think? > Martin Bene, could > > you please try coding and testing a patch that will do what > you want? > > Yes, that sounds reasonable to me. OK, I'll send a patch. Bye, Martin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
AW: Largest file system being synced
Hi Jason, > Are there any Linux users out there using the likes of > RAID'ed-NBD, CODA or > Intermezzo for a similar effect? > The NBD (network block device) looks interesting, it allows > you to mount a remote raw partition - so you can effectively > RAID over the network. I'd recomend drbd over a nbd + raid solution: * drbd knows to read from local device only so performance is generaly better * it deals nicely with disconnect / reconnect scenarios. I've used drbd in real-life configurations with linux FailSafe and with heartbeat as cluster managers, works quite nicely once you get it running. Problems with drbd: * current version doesn't like SMP * works at block level, so speed for a full synchronisation depends on filesystem size, not just used space. * resync speed limited to about 4MB/sec - limit aplies only for resync, not for normal read/write access. have a look at http://www.linbit.com/en/ for more information. Bye, Martin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html