[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync



lina wrote:
> Is it wrong when use
> 
> rsync -azvu source destination
> 
> sent 16 bytes  received 43 bytes  5.13 bytes/sec
> total size is 1507939808  speedup is 25558301.83
> 
> Destination $ du -sh md_0.xtc
> 342M	md_0.xtc
> 
> Source $ du -sh md_0.xtc
> 1.5G	md_0.xtc
> 
> my confusion is that
> why it stopped copy the rest.

Is the time correct between your client and file system server?

  $ touch foo ; ls -ldog --full-time foo ; date "+%F %T"
  -rw-rw-r-- 1 0 2012-02-28 10:42:29.000000000 -0700 foo
  2012-02-28 10:42:29

If the times are different by more than a second then you have clock
problems to fix.  The time is critical so that file timestamps are
correct so that rsync can file compare times.

If you want to ignore time and force a bit comparison then use the
rsync -c option.

  $ rsync -aczv source destination

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: