Re: rsync hangs during --remove-source-files
On Fri, Oct 17, 2008 at 03:34:03PM +0800, Thomas Gutzler wrote: I had another rsync hang. I've attached a text file with the stack traces you asked for and some other info. The generator backtrace shows that it is waiting for the receiver to finish some files before going on. This attempts to sprinkle the source removes more evenly during the transfer instead of having them all get bunched up at the end. So, the strange thing is that the receiver is waiting around for more files to process, which raises the question of why the generator doesn't know that the files it initiated are all done (or make me wonder if some pipe data didn't get delivered, but that is less likely). Did your transfer report any errors? ..wayne.. -- 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: using rsync to get filestats
Thanks Matt. I suppose I could use rsync to know how big a directory is then...right? rsync --progress -avzL -n /source /foo That should give me the total number of bytes to transfer On Wed, Oct 15, 2008 at 3:03 PM, Matt McCutchen [EMAIL PROTECTED] wrote: On Tue, 2008-10-14 at 07:31 -0400, Mag Gam wrote: Does rsync use stat()? does find use stat() when running with printf? I think the stat() is the most expensive part. Rsync and find -printf both use stat(2). Matt -- 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: using rsync to get filestats
On Sat, 2008-10-18 at 20:55 -0400, Mag Gam wrote: Thanks Matt. I suppose I could use rsync to know how big a directory is then...right? rsync --progress -avzL -n /source /foo That should give me the total number of bytes to transfer That will work, but --progress seems to be pointless on a dry run, and you might like to pass --stats to get some additional information. Matt -- 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