2 Made question easier to read and understand.
source | link

What does dd write stuff on, when it encounters a input/output error?

I have a drive that's on the verge of failing (C5 a C6 are triggered) so I decided to make another backup while I still can, and for. For that, I'm using dd to another drive (exactof the exact same model).
However, and kind of as As expected, I have some input/output errors, and I'd like to know, what dd does when it encounters this errorerrors. Does it just skip the sector and writes nothing? Or does it replacesreplace the data that was previously on the target drive with 0s?
Also

Also, since I'm using 64K blocks, can I run dd at the location where the copy failed with a smaller block size to try to get a little bit more data out of it?

What does dd write stuff on a input/output error?

I have a drive that's on the verge of failing (C5 a C6 are triggered) so I decided to make another backup while I still can, and for that I'm using dd to another drive (exact same model).
However, and kind of as expected, I have some input/output errors, and I'd like to know what dd does when it encounters this error. Does it just skip the sector and writes nothing? Or does it replaces the data that was previously on the target drive with 0s?
Also, since I'm using 64K blocks, can I run dd at the location where the copy failed with a smaller block size to try to get a little bit more data out of it?

What does dd write, when it encounters a input/output error?

I have a drive that's on the verge of failing (C5 a C6 are triggered) so I decided to make another backup while I still can. For that, I'm using dd to another drive of the exact same model. As expected, I have some input/output errors, and I'd like to know, what dd does when it encounters errors. Does it just skip the sector and writes nothing? Or does it replace the data that was previously on the target drive with 0s?

Also, since I'm using 64K blocks, can I run dd at the location where the copy failed with a smaller block size to try to get a little bit more data out of it?

1
source | link

What does dd write stuff on a input/output error?

I have a drive that's on the verge of failing (C5 a C6 are triggered) so I decided to make another backup while I still can, and for that I'm using dd to another drive (exact same model).
However, and kind of as expected, I have some input/output errors, and I'd like to know what dd does when it encounters this error. Does it just skip the sector and writes nothing? Or does it replaces the data that was previously on the target drive with 0s?
Also, since I'm using 64K blocks, can I run dd at the location where the copy failed with a smaller block size to try to get a little bit more data out of it?