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

Re: disks differ after cloning with dd




> On November 12, 2013 at 9:40 AM Andre Majorel <aym-naibed@teaser.fr> wrote:
>
> Unfortunately, GNU dd does not have a --progress option but last
> time I looked, it responded to signal USR1 by writing its
> current stats on stderr. So you can use ps to find out the PID
> of your dd(1) process then kill -USR1 <PID> from time to time to
> see how far along it is.
>
 
 
pv -tpreb /dev/source | dd of=/dev/destination bs=8M conv=notrunc
 

> If you must stop the copy, dd options seek= and skip= can be
> used to restart from where you stopped (as opposed to restarting
> from the first block).
>
> conv=noerror could be useful to skip over bad sectors. But make
> sure that when dd cannot read a block from the input file, it
> does write a block to the output file. Otherwise, the source and
> destination would desynchronise and the copy would be unusable.
>
> Karl has mentioned recoverdm. Sounds promising.
>
> --
> André Majorel <http://www.teaser.fr/~amajorel/>
> Thousands of verified email addresses available from bugs.debian.org.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/[🔎] 20131112144029.GC6159@aym.net2.nerim.net
>

Reply to: