Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #4119

Re: fast method of cloning a hard drive?

Date 2012-02-05 06:59 -0800
From John Reiser <jreiserfl@comcast.net>
Newsgroups comp.os.linux.misc
Subject Re: fast method of cloning a hard drive?
References <4f2e7a25$1@x-privat.org>
Message-ID <GaydnWkBsILIBLPSRVn_vwA@giganews.com> (permalink)

Show all headers | View raw


> I try to clone a 250 GB disk PATA to a SATA drive with same CHS.
Are the PATA and SATA interfaces native to the same CPU motherboard?

> I use dd if=/dev/sdb of=/dev/sda
> This is going for hours.  In system monitor, I see one CPU going
> about 30% for 20 seconds, then another CPU goes 30% for 30 seconds.
> Just flip-flop forever. The HD LED is flashing. 
It should be ON nearly all the time.  Any OFF duration should be
almost unnoticeable.

> System is Core 2 Quad with 6 GiB of RAM. 
> I think if I copied it to a USB disk it would have taken less time...

250GB in + 250GB out ==> 500GB transferred;  @50MB/s ==> 10,000 seconds;
about 2.8 hours.  Near-perfect overlap of physical read and write
still requires almost 1.5 hours.  The usual practice is to specify
"bs=32k" or "bs=64k" to reduce syscall overhead when using dd for
such a large copy.  (The default blocksize for dd is bs=512 [bytes].)
Or, use ordinary /bin/cp instead of dd.

-- 

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

fast method of cloning a hard drive? "Orson Cart" <ex-privat@parts.org> - 2012-02-05 13:46 +0100
  Re: fast method of cloning a hard drive? John Reiser <jreiserfl@comcast.net> - 2012-02-05 06:59 -0800
    Re: fast method of cloning a hard drive? unruh <unruh@invalid.ca> - 2012-02-06 01:03 +0000
      Re: fast method of cloning a hard drive? patrick <0001patrick@gmail.com> - 2012-02-06 21:04 +0000
        Re: fast method of cloning a hard drive? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-06 21:50 +0000
        Re: fast method of cloning a hard drive? unruh <unruh@invalid.ca> - 2012-02-07 09:43 +0000
          Re: fast method of cloning a hard drive? patrick <0001patrick@gmail.com> - 2012-02-21 04:20 +0000
            Re: fast method of cloning a hard drive? unruh <unruh@invalid.ca> - 2012-02-21 05:40 +0000
    Re: fast method of cloning a hard drive? "Orson Cart" <ex-privat@parts.org> - 2012-02-06 14:11 +0100
  Re: fast method of cloning a hard drive? ray <ray@zianet.com> - 2012-02-05 15:15 +0000
  Re: fast method of cloning a hard drive? Dan C <youmustbejoking@lan.invalid> - 2012-02-05 16:30 +0000
  Re: fast method of cloning a hard drive? Robert Heller <heller@deepsoft.com> - 2012-02-05 10:55 -0600
    Re: fast method of cloning a hard drive? Johann Klammer <klammerj@NOSPAM.a1.net> - 2012-02-06 03:17 +0100
    Re: fast method of cloning a hard drive? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-02-06 23:38 +0100
      Re: fast method of cloning a hard drive? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-06 23:01 +0000
        Re: fast method of cloning a hard drive? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-02-07 00:17 +0100
          Re: fast method of cloning a hard drive? The Natural Philosopher <tnp@invalid.invalid> - 2012-02-07 01:39 +0000
    Re: fast method of cloning a hard drive? Eli the Bearded <*@eli.users.panix.com> - 2012-02-06 23:50 +0000
      Re: fast method of cloning a hard drive? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2012-02-21 21:27 +0100

csiph-web