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


Groups > linux.debian.user > #187261

Re: dd to clone a drive

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: dd to clone a drive
Date 2017-09-26 17:40 +0200
Message-ID <uu07M-6zu-11@gated-at.bofh.it> (permalink)
References <utYz1-5vR-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 26 September 2017 09:57:57 Jack Dangler wrote:

> I have an existing drive near EOL (judging from the sounds). I got a
> replacement drive for it (same size).
>
> I plugged the replacement into a USB port and started a byte-for-byte
> copy with
>
> dd if=/dev/sda of=/dev/sdc
>
> The process ran quietly for almost 30 hours with no discernable
> results so i killed it. Apparently, it had been running the whole time
> and resulted in approximately 300 of 500Gb copied. Is it 'usual' to
> have dd take upwards of 2 days to copy a drive ?
>
> The source drive is a 500G 5400rpm WD, and the target is a 500G
> 7200rpm WD black.
>
> Thanks for any input.
>
I think when no bs size is specified, it does a sector copy and likely 
verifies it. In writing sd cards in a usb reader/writer here, dd's 
execution time can be cut to maybe 5 minutes for a 2GB image by the use 
of the "bs=4096" option in the above command line.  That should mean 
your 500GB copy operation would take about 20 hours, probably much less 
since the hd can write faster than my sd cards can on a sustained basis 
like 500GB.

> Regards
>
> Jack


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

dd to clone a drive Jack Dangler <tdldev@gmail.com> - 2017-09-26 16:00 +0200
  Re: dd to clone a drive Roberto C. Sánchez <roberto@debian.org> - 2017-09-26 16:20 +0200
  Re: dd to clone a drive Michael Stone <mstone@debian.org> - 2017-09-26 16:20 +0200
  Re: dd to clone a drive "Thomas Schmitt" <scdbackup@gmx.net> - 2017-09-26 16:40 +0200
    Re: dd to clone a drive Michael Stone <mstone@debian.org> - 2017-09-26 17:30 +0200
  Re: dd to clone a drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-26 16:50 +0200
  Re: dd to clone a drive Gene Heskett <gheskett@shentel.net> - 2017-09-26 17:40 +0200
    Re: dd to clone a drive Jack Dangler <tdldev@gmail.com> - 2017-09-29 13:40 +0200

csiph-web