[CentOS] Accessing crashed disk

Warren Young
Thu, 14 Dec 2017 18:57:10 -0000

On Dec 13, 2017, at 5:15 PM, J Martin Rushton <martinrushton56 at
btinternet.com> wrote:
>
> # dd if=/dev/sdc of=/home/dd-copy-of-sdc

Better, use ddrescue:

   https://www.gnu.org/software/ddrescue/

dd will do unfortunate things like quit early on I/O errors, even if later
blocks would read just fine.  ddrescue assumes the input file is dodgy and tries
to cope.