writefd_unbuffered failed to write 4092 bytes to socket

2010-09-25 Thread Joseph Maxwell
I'm attempting to maintain a mirror of a remote database, ~ 66Gb on a FreeBSD platform. I do not have direct access to the database except by rsync, anon. ftp etc. I'm running rsync nightly from crontab, with the cmd /usr/local/bin/rsync -avvv --port=33444 ftp.filesource.org::ftp . rsynclog

Re: rename(2) errno processing

2010-09-25 Thread Wayne Davison
On Thu, Sep 23, 2010 at 6:20 AM, Jeff Fellin j...@research.att.com wrote: The backup test was failing because it didn't create a subdirectory. In tracing the code I realized the problem was in robust_move() in backup.c. UWIN returns ENOTDIR, when the rename(2) is called when a directory

Re: rename(2) errno processing

2010-09-25 Thread Matt McCutchen
On Sat, 2010-09-25 at 09:09 -0700, Wayne Davison wrote: I believe that ENOTDIR should only be returned if some component in the path exists but is not a directory. If the path is not fully there, it should instead return ENOENT. POSIX is unclear about whether walking a path where a non-final

Re: rename(2) errno processing

2010-09-25 Thread Wayne Davison
On Sat, Sep 25, 2010 at 9:38 AM, Matt McCutchen m...@mattmccutchen.netwrote: POSIX is unclear about whether walking a path where a non-final component is missing is allowed to return ENOTDIR. Yes, posix may be unclear, but I don't think this alternate interpretation is useful when a much

can't create a local mirror

2010-09-25 Thread Tim Hanson
I either have a problem with rsync or it is not intended to do what I am asking it to do. I am trying to mirror a copy of /home/foo to a local usb drive. The copy is made, but the destination does not appear to be deleting files I have deleted on the source. Here is the command line I am

Re: can't create a local mirror

2010-09-25 Thread Matt McCutchen
On Sat, 2010-09-25 at 13:16 -0700, Tim Hanson wrote: I either have a problem with rsync or it is not intended to do what I am asking it to do. I am trying to mirror a copy of /home/foo to a local usb drive. The copy is made, but the destination does not appear to be deleting files I have

Re: can't create a local mirror

2010-09-25 Thread Tim Hanson
On Saturday, September 25, 2010 01:22:29 pm you wrote: On Sat, 2010-09-25 at 13:16 -0700, Tim Hanson wrote: I either have a problem with rsync or it is not intended to do what I am asking it to do. I am trying to mirror a copy of /home/foo to a local usb drive. The copy is made, but

Re: can't create a local mirror

2010-09-25 Thread Tim Hanson
Also, I tried to --exclude it, but got the same error. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: can't create a local mirror

2010-09-25 Thread Matt McCutchen
On Sat, 2010-09-25 at 13:37 -0700, Tim Hanson wrote: On Saturday, September 25, 2010 01:22:29 pm you wrote: On Sat, 2010-09-25 at 13:16 -0700, Tim Hanson wrote: I either have a problem with rsync or it is not intended to do what I am asking it to do. I am trying to mirror a copy of

Re: can't create a local mirror

2010-09-25 Thread Tim Hanson
On Saturday, September 25, 2010 02:35:16 pm you wrote: rsync@lists.samba.org !$#%^#$#! I have a workaround but I'm not that thrilled with it. It involves logging in to a root desktop and doing the script from there. IOW, everything else stops until I do the daily backup. -- Please use

Re: can't create a local mirror

2010-09-25 Thread Matt McCutchen
On Sat, 2010-09-25 at 13:53 -0700, Tim Hanson wrote: Also, I tried to --exclude it, but got the same error. You may have written the exclusion incorrectly. If the source is /home/timh/ , the exclusion should be --exclude=/.gvfs . See the ANCHORING INCLUDE/EXCLUDE PATTERNS section of the man

Re: can't create a local mirror

2010-09-25 Thread Chris
On Sat, 2010-09-25 at 14:42 -0700, Tim Hanson wrote: On Saturday, September 25, 2010 02:35:16 pm you wrote: rsync@lists.samba.org !$#%^#$#! I have a workaround but I'm not that thrilled with it. It involves logging in to a root desktop and doing the script from there. IOW, everything

Re: can't create a local mirror

2010-09-25 Thread L. V. Lammert
On Sat, 25 Sep 2010, Tim Hanson wrote: rsync: readlink_stat(/home/timh/.gvfs) failed: Permission denied (13) IME, you can't rsync .gvfs, .. you need to exclude that directory. GVFS is a virtual file system and does not work with rsync. Lee -- Please use reply-all for most replies to

Re: can't create a local mirror

2010-09-25 Thread L. V. Lammert
On Sat, 25 Sep 2010, Tim Hanson wrote: Also, I tried to --exclude it, but got the same error. If you still get the error, you aren't excluding it - your exclusion pattern is not matching. Lee -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe

Re: rename(2) errno processing

2010-09-25 Thread Matt McCutchen
On Sat, 2010-09-25 at 11:46 -0700, Wayne Davison wrote: On Sat, Sep 25, 2010 at 9:38 AM, Matt McCutchen m...@mattmccutchen.netwrote: POSIX is unclear about whether walking a path where a non-final component is missing is allowed to return ENOTDIR. Yes, posix may be unclear, but I don't