I'm cloning a 1TB drive to another 1TB drive using the dd command on Ubuntu using a live USB. I've been monitoring progress by running in another terminal:
sudo kill -USR1 $(pgrep ^dd)
At first everything was going well and I expected the copying would be done in little over a day. I've come back two days later and see that the rate has slowed to almost a halt.
1055628+0 records in 1055628+0 records out 69181636608 bytes (69 GB, 64 GiB) copied, 160488 s, 431 kB/s 1055629+0 records in 1055629+0 records out 69181702144 bytes (69 GB, 64 GiB) copied, 160491 s, 431 kB/s
Is there anything I can do?
edit: The exact command I used was:
sudo dd if=/dev/sdb of=/dev/sdd bs=64K conv=notrunc,noerror
There have been no errors or warnings. I was not expecting errors and so didn't use any other command to check the disk in advance, although in retrospect that would have been the wise thing to do. Given this, what would now be the best course of action?
edit2: I ran
dmesg and now I'm seeing that it ran into a few I/O errors and is likely the culprit.
I will cancel
dd and install and use
ddrescue. Thanks for the help!