Rsync time syncing problem

Dan Gardner Dan.Gardner at emap.com
Wed Oct 31 19:35:28 EST 2001


Matt,

I've never used it but if you can live with the 1 second time difference,
try the following rsync option:


       --modify-window
              When  comparing  two  timestamps  rsync  treats the
              timestamps as being equal if they  are  within  the
              value  of modify_window. This is normally zero, but
              you may find it useful to  set  this  to  a  larger
              value  in  some  situations.  In  particular,  when
              transferring to/from FAT filesystems  which  cannot
              represent  times  with  a  1 second resolution this
              option is useful.




-----Original Message-----
From: Matthew Simpson [mailto:msimpson at market-research.com]
Sent: Tuesday, October 30, 2001 9:58 PM
To: rsync at lists.samba.org
Subject: Rsync time syncing problem


Hi All,

I hope someone can help me. We use Rsync to transfer files to and 
from our Australian and US server and we are experiencing files being 
overwritten and a few files disappearing (their contents disappear). 
I have setup ntp on each machine pointing to the same ntp server and 
set the hwclock to utc. We have found that the files on the US server 
are x:xx:01 secs and the AU server is x:xx:00 secs (doing an ls -l 
--full-time) Even though the files are only being updated on the AU 
server they are still coming back from the US server which they 
shouldn't be.

Does anyone know how to solve this? I read something about mds 
checksum and rsync. but wasn't sure if this was the solution?

Any help would be greatly appreciated.


Matt


** For great Emap magazine subscription & gift offers visit http://www.emapmagazines.co.uk **

--------------------------------------------------------------------------------
The information in this email is intended only for the addressee(s) named above.
Access to this email by anyone else is unauthorised.
If you are not the intended recipient of this message any disclosure, copying, 
distribution or any action taken in reliance on it is prohibited and may be unlawful. 

Emap plc and or its subsidiaries do not warrant that any attachments are free from 
viruses or other defects and accept no liability for any losses resulting from 
infected email transmissions.

Please note that any views expressed in this email may be those of the originator 
and do not necessarily reflect those of this organisation.
--------------------------------------------------------------------------------




More information about the rsync mailing list