Is it even remotely possible that after a successful rsync, the file sizes on both ends are different ??? We use rsync extensively to distribute our builds across all our development sites. Here is how our rsync process works 1. SiteA creates a build #1 2. SiteB rsync's build #1 3. SiteA creates a build #2 4. SiteB rsync's build #2 using contents of build #01 (i.e. we rsync build #02 into #01 directory and then call #01 as #02) The idea being, rsync will be able to figure out which files have changed between build #01 and build #02 and X'fer only the changed files. However, step 4 above is not doing correct things. Rsync detects that the files are different but doesn't X'fer but doesn't sync it. Following is a snapshot of the log. Notice the lines in "red" below. Rsync correctly detects that these CD image files need to be synced but doesn't actually X'fer much bytes. The command completes successfully but the sizes don't match. Have any of you seen this problem before? I am using Redhat 8.0 at rsync server and Solaris 8 as rsync client. At both ends I am using rsync 2.5.6 protocol version 26 Thanks in advance for your help. Jaydeep /d01/rsync/rsync/bin/rsync -rRLacutpvv --partial --delete --force --timeout=3600 $serverName::build/wnc/7.0/47 /public/home/rsync/arh/in/build [rsync-build] opening tcp connection to $serverName port 873 [rsync-build] receiving file list ... [rsync-build] done [rsync-build] expand file_list to 4000 bytes, did move [rsync-build] deleting in wnc/7.0/47 [rsync-build] delta transmission enabled [rsync-build] wnc/7.0/47/install/CD_CUSF.01.zip is newer [rsync-build] wnc/7.0/47/install/CD_DoorsAdapter.01.zip is newer [rsync-build] wnc/7.0/47/install/CD_EBAIAdapter.01.zip is newer [rsync-build] wnc/7.0/47/install/CD_IEServer.01.zip is newer [rsync-build] wnc/7.0/47/install/CD_JDBCAdapter.01.zip is newer [rsync-build] wnc/7.0/47/install/CD_WCT.01.zip is newer [rsync-build] wnc/7.0/47/install/CD_WNC.01.zip is uptodate [rsync-build] wnc/7.0/47/install/CD_WPDM.01.zip is uptodate [rsync-build] wnc/7.0/47/install/Foundation_patch.jar is uptodate [rsync-build] wnc/7.0/47/module/CommonCore-ant_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/CommonCore-install_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/CommonCore_cfg.zip is uptodate [rsync-build] wnc/7.0/47/module/CommonCore_dev.zip is uptodate [rsync-build] wnc/7.0/47/module/CommonCore_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/CommonXml_cfg.zip is uptodate [rsync-build] wnc/7.0/47/module/CommonXml_dev.zip is uptodate [rsync-build] wnc/7.0/47/module/CommonXml_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/Installation_TEMPLATE_dev.zip is uptodate [rsync-build] wnc/7.0/47/module/Installation_ddoc.zip is uptodate [rsync-build] wnc/7.0/47/module/Installation_dev.zip is uptodate [rsync-build] wnc/7.0/47/module/Installation_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/Installation_src.zip is uptodate [rsync-build] wnc/7.0/47/module/Java_dev.zip is uptodate [rsync-build] wnc/7.0/47/module/Java_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/Jgl_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/Jndi_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_dev.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_dev_linux.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_dev_solaris.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_dev_unix.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_dev_win.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_rt_ja.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_rt_unix.zip is uptodate [rsync-build] wnc/7.0/47/module/SystemGeneration_rt_win.zip is uptodate [rsync-build] wnc/7.0/47/module/WindchillUtil-ant_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/WindchillUtil-install_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/WindchillUtil_cfg.zip is uptodate [rsync-build] wnc/7.0/47/module/WindchillUtil_dev.zip is uptodate [rsync-build] wnc/7.0/47/module/WindchillUtil_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/Xml_rt.zip is uptodate [rsync-build] wnc/7.0/47/module/tools_vs.zip is uptodate [rsync-build] wrote 125 bytes read 2116 bytes 11.10 bytes/sec [rsync-build] total size is 416197531 speedup is 185719.56
On Tue, Jul 01, 2003 at 12:50:55AM -0400, Kulkarni, Jaydeep wrote:> [rsync-build] wnc/7.0/47/install/CD_CUSF.01.zip is newerThis message means that the file is being skipped because you specified the -u option and the local file has a newer timestamp, not that the remote file is newer. ..wayne..
Thanks Wayne. Taking out -u fixed the problem. Jaydeep -----Original Message----- From: Wayne Davison [mailto:wayned@samba.org] Sent: Monday, June 30, 2003 11:59 PM To: Kulkarni, Jaydeep Cc: rsync@lists.samba.org Subject: Re: file sizes different even after successful rsync On Tue, Jul 01, 2003 at 12:50:55AM -0400, Kulkarni, Jaydeep wrote:> [rsync-build] wnc/7.0/47/install/CD_CUSF.01.zip is newerThis message means that the file is being skipped because you specified the -u option and the local file has a newer timestamp, not that the remote file is newer. ..wayne..