From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OLMjL-0000QE-FY for garchives@archives.gentoo.org; Sun, 06 Jun 2010 20:46:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FC00E0B64; Sun, 6 Jun 2010 20:45:42 +0000 (UTC) Received: from smtp-OUT09A.alice.it (smtp-OUT09A.alice.it [85.33.3.9]) by pigeon.gentoo.org (Postfix) with ESMTP id C3FA7E0B64 for ; Sun, 6 Jun 2010 20:45:41 +0000 (UTC) Received: from fbcmmo06.fbc.local ([7.168.68.254]) by smtp-OUT09A.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Sun, 6 Jun 2010 22:45:41 +0200 Received: from FBCMCL01B07.fbc.local ([192.168.171.45]) by fbcmmo06.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sun, 6 Jun 2010 22:45:40 +0200 Received: from infra.agr.fm ([79.24.116.99]) by FBCMCL01B07.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Sun, 6 Jun 2010 22:45:38 +0200 Received: from [192.168.64.9] (silver.agr.fm [192.168.64.9]) by infra.agr.fm (Postfix) with ESMTP id 570525DD10F for ; Sun, 6 Jun 2010 22:45:36 +0200 (CEST) Message-ID: <4C0C08F0.1060007@alyf.net> Date: Sun, 06 Jun 2010 22:45:36 +0200 From: Andrea Conti User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Fast checksumming of whole partitions References: <20100605063956.GA5125@solfire> <4C0A8BC5.9040305@gmail.com> <20100605192331.GA11007@solfire> <4C0AE15D.8020408@gmail.com> <4C0B764D.5030008@alyf.net> <4C0BEF3D.5070103@gmail.com> In-Reply-To: <4C0BEF3D.5070103@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jun 2010 20:45:38.0608 (UTC) FILETIME=[388D8B00:01CB05B9] X-Archives-Salt: 497d041c-4e3e-49f7-9359-081b292ce4d9 X-Archives-Hash: 8568e1c0d713bbb21df24598842e5223 >> 1- if the root partition is [part of] what you're copying, you >> *must* mount it read-only (mount -o ro /dev/sdc /work) > > Not from my experience; I simply mount, exec, and go - Works fine Let's say you are 50% done copying a partition, when something writes to it. If the write only affects the first half, which has alredy been copied, the target will consistently reflect the "old" state; if on the other hand the write only affects the second half, which has not been copied yet, the target will consistently reflect the "new" state. The problem is that with any write affecting both halves your copy will contain a mix of the two states and thus will be inconsistent. I am not saying that copying a rw-mounted partition will always fail: you might be able to get away with it if nothing is actively writing to the source partition. In any case you will not see any errors during the copy. andrea