delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SARE_FROM_CONS6S |
X-Spam-Check-By: | sourceware.org |
Received-SPF: | pass (google.com: domain of tgckpg AT gmail DOT com designates 10.180.100.33 as permitted sender) client-ip=10.180.100.33; |
Authentication-Results: | mr.google.com; spf=pass (google.com: domain of tgckpg AT gmail DOT com designates 10.180.100.33 as permitted sender) smtp.mail=tgckpg AT gmail DOT com; dkim=pass header.i=tgckpg AT gmail DOT com |
MIME-Version: | 1.0 |
Date: | Sun, 26 Feb 2012 17:23:00 +0800 |
Message-ID: | <CAJg5x_b5pn5miv3oQfA2azHwuH5h0ngpu10JQsHASYJoNPOsyw@mail.gmail.com> |
Subject: | rsync between cygwin and debian |
From: | =?UTF-8?B?5paf6YWM6bWs5YWE?= <tgckpg AT gmail DOT com> |
To: | Cygwin <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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 AT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |