Re: dd to clone a drive

2017-09-29 Thread Jack Dangler
On 09/26/2017 11:35 AM, Gene Heskett wrote: 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

Re: dd to clone a drive

2017-09-26 Thread Gene Heskett
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 proc

Re: dd to clone a drive

2017-09-26 Thread Michael Stone
On Tue, Sep 26, 2017 at 04:28:10PM +0200, Thomas Schmitt wrote: The first suspect for slow dd is small block size. So you should in any case ask dd for larger chunks as already proposed by Michael Stone. For copying Debian ISOs to USB sticks the FAQ proposes 4 MiB. But i think 1 MiB is surely eno

Re: dd to clone a drive

2017-09-26 Thread Pascal Hambourg
Le 26/09/2017 à 15:57, Jack Dangler a écrit : 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 dd is not the best tool to cop

Re: dd to clone a drive

2017-09-26 Thread Thomas Schmitt
Hi, > Is it 'usual' to have dd take upwards of 2 days to copy a drive ? Not really. An old 500 GiB SATA disk may deliver about 50 MiB/s. That's 1 seconds, a bit less than 3 hours. (If you copy from filesystem to filesystem it may last much longer due to the lookup times in the trees.) The f

Re: dd to clone a drive

2017-09-26 Thread Michael Stone
On Tue, Sep 26, 2017 at 09:57:57AM -0400, 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

Re: dd to clone a drive

2017-09-26 Thread Roberto C . Sánchez
On Tue, Sep 26, 2017 at 09:57:57AM -0400, 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 > > Th