I have a hard drive partition (/dev/sdb1, ubuntu 16.04 partition)with bad sectors I intend to create an image of the partition with bad sectors and then restore to a new drive/partition.
First I run ddrescue without trying to read the bad sectors using
sudo ddrescue -n /dev/sdb1 sdb1_n.img sdb1_n_log.txt
The I run ddrescue with the -r option so that repeated attempts to read bad sectors along with the good sectors:
sudo ddrescue -d -r3 /dev/sdb1 sdb1_d_r3.img sdb1_d_r3_log.txt
Strangely the second run with -r3 gives more error locations on the log file than on the first run. The size of the images are however same.
Which image should I use for restoring the one created using -n option or the one created with -d -r3 option?