www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/16/14:40:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4806481C.2050707@free.fr>
Date: Wed, 16 Apr 2008 20:40:28 +0200
From: Sylvain RICHARD <sr75pro AT free DOT fr>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: file accessibility and copying/archive/...
References: <Pine DOT GSO DOT 4 DOT 64 DOT 0804151952460 DOT 5320 AT brains DOT eng DOT cse DOT dmu DOT ac DOT uk> <48057350 DOT D77AC915 AT dessent DOT net> <Pine DOT GSO DOT 4 DOT 64 DOT 0804161006320 DOT 10102 AT brains DOT eng DOT cse DOT dmu DOT ac DOT uk> <4805E92C DOT 2060006 AT netcourrier DOT com> <Pine DOT GSO DOT 4 DOT 64 DOT 0804161335010 DOT 10102 AT brains DOT eng DOT cse DOT dmu DOT ac DOT uk>
In-Reply-To: <Pine.GSO.4.64.0804161335010.10102@brains.eng.cse.dmu.ac.uk>
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

Hugh Sasse wrote:
>
> I want to recover as much of the data I wrote to the old system onto
> a portable drive (which being new is big, I forget how big now but of
> the order of 200GB), and I want to put the files somewhere on my as yet
> unbuilt new machine, which will probably be running Vista dual boot with
> Ubuntu.
If it's a once in a (PC's) lifetime job, then the knoppix offline way is 
the better way. The only guarantee M$ makes regarding shadow copy for 
non shadow copy awareapplications is that you get the same data that 
would reside on the disk after a PC crash. I got burnt when ntbackup 
copied an in-use svn repository (the with the Berkeley db backend).

Any knoppix will do, you don't need the DVD. Just:
1) use hdparm to make sure DMA mode is enabled;
2) use fdisk to repartition your removable hardrive, creating a 
partition of same exact size as the old partition;
3) use dd_rescue to copy the whole partition. I suggest dd_rescue over 
dd because it will handle read errors graciously.  Hint: specify the 
soft blocksize big enough to use caching (say around 4M). Setting it too 
high will cause floating point exceptions I've never really wanted to debug;
4) Enjoy.

Note that the 3rd step may take some time. But you will get maximum 
performance from linear access and no other program trying to access the 
drives concurrently. OTOH, this method is certainly not the best if you 
need to copy say 4GB of data from a 150GB partition.

Best regards,

    Sylvain RICHARD

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019