dd : failed
# bs : read 1 MB of bytes at a time = ùmore performance
sudo dd if=/dev/sde3 of=/dev/sde6 bs=1M
=> dd: error reading '/dev/sde3': Input/output error
you can also use a disk instead of a partition , but that has limitations
more recent versions
These may be able to work around the broken path. Beware though, that you might/will lose data.
- GNU ddrescue
- ddrescue (ddrescue is older)
``sudo apt-get install gddrescue
``` shell
basic syntax : ddrescue (options) if of logfile
options
-r3 : try to repair basd sectors , try 3 times
-d : bypass kernel, direct disk access to source
-D : idem for target
-f force output to use a block device instead of a file (file is default)
to pipe stdout to the progess monitoring tool , add : | pv
sudo ddrescue -r3 -d -f /dev/sde3 /dev/sde6 /media/ward/temp/cloning.logfile | pv