This is the mail archive of the
cygwin
mailing list for the Cygwin project.
rsync between cygwin and debian
- From: æééå <tgckpg at gmail dot com>
- To: Cygwin <cygwin at cygwin dot com>
- Date: Sun, 26 Feb 2012 17:23:00 +0800
- Subject: rsync between cygwin and debian
- Authentication-results: mr.google.com; spf=pass (google.com: domain of tgckpg@gmail.com designates 10.180.100.33 as permitted sender) smtp.mail=tgckpg@gmail.com; dkim=pass header.i=tgckpg@gmail.com
Originally I have the folder (say "MyFiles") in both debian and windows.
Before using rsync, I copy sync my files using third party software to
sync it through debian samba and windows.
After then, I decided to use rsync and got some "problem" that how
rsync behave...
Remote files:
"MyFiles" in ExtHDD mounted on debain with ntfs file system
Local files:
MyFiles in drive "D:"
command:
rsync -roziD /cygdrive/d/MyFiles user@server:/media/ExtHDD/MyFiles
The problem is rsync seems working normally, listing files being
copied ... working fine.
However all the files seems not being compared but just copy directly
which I'd been told that "rsync just copy modified bits"
By using iotop in debian, I discover that there is obly disk write
around 8 MBps.
Then i stopped the sync, re-enter the command and see what's happened.
iotop had shown that there is 30MBps disk read and 1K disk write on disk,
Those were rsynced files.
But then when it hits the files that were not yet rsynced, it turns
down just copying the files directly.
I may conclude that the file are really different when before they synced.
So i check files md5 before and after they synced.
Before = c569662d131db2cd6ceaf1d1e07d9f12
After = c569662d131db2cd6ceaf1d1e07d9f12
And they are exactly the same file.
Here are some rsync output:
<f..T...... ****File name not shown*****
<f..T...... ****File name not shown*****
<f..T...... ****File name not shown*****
...
..
<f+++++++++ ****File name not shown*****
<f..T...... ****File name not shown*****
<f..T...... ****File name not shown*****
..
Could someone tell where the problems are?
There are tons of file I want to sync and I need to have time and
resources efficiency:P
--
Regards,
Panguin
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple