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

Re: HDD clone



on Tue, Nov 20, 2001 at 11:54:37AM +0100, Schmidt, Thorsten (T.SCHMIDT@eckelmann.de) wrote:

> On Dienstag, 20. November 2001, François THOMAS [francoist@alsdesign.fr] wrote:
> > I have just installed a second SCSI HDD on a production Debian
> > system. The new HDD is exactly the same model as the first one.  I
> > want to make an exact copy of the first drive on the second, in
> > order to have a rescue solution if something bad happens to the
> > server (just replace one drive with the other and boot on it: prod
> > server should then be back online).

> > Can somebody point me to some tool which is able to make such a
> > clone copy ?

> I think this sould be possible with "dd" when you're using /dev/sdX as input
> and /dev/sdY as output but I'm not sure about that. You sould read the
> manual bevore trying it.

dd will do the job for a precise binary copy.  This is overkill in the
vast majority of circumstances, and slow as hell to boot (copying a
healthy-sized disk could take most of a day or more).  Tar or
incremental updates via rsync are far more appropriate.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>       http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?             Home of the brave
  http://gestalt-system.sourceforge.net/                   Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org
Geek for Hire                     http://kmself.home.netcom.com/resume.html

Attachment: pgpN5Td1gTJYz.pgp
Description: PGP signature


Reply to: