Workaround: ddrescue & "input file disappeared"
Posted: Mon Nov 19, 2018 12:24 am
Thanks to Ketil Froyn's feature suggestion for ddrescue, here's a workaround for ddrescue exiting when problematic source device "disappears" 
If ddrescue exits with the following error message, although the input device can be read again a few seconds later...
You have to kill the loop manually, once ddrescue has finished:

If ddrescue exits with the following error message, although the input device can be read again a few seconds later...
...use this command to "rudely" restart ddrescue forever, when it exits:ddrescue: input file disappeared: No such file or directory
Code: Select all
$ while true; do ddrescue /dev/sdb sdb.dd sdb.log; sleep 10; done
Code: Select all
Ctrl + C