3 ms·
The best thing about dd is that you can use it with conv=noerror, which will let you recover as much data as possible from an otherwise damaged device.
by jwr 10y ago
The best thing about dd is that you can use it with conv=noerror, which will let you recover as much data as possible from an otherwise damaged device.
- Freaky 10y agoThat loses you a dd blocksize chunk, which is likely much bigger than the underlying damaged sector. ddrescue or recoverdisk (part of FreeBSD base) will both skip over unreadable blocks, then retry with smaller block sizes along the damaged areas to save as much data as possible.
- cellularmitosis 10y agoIndeed. Also, you'd actually want 'conv=noerror,sync'. The 'sync' keeps the input and output block counts in sync (if an input block can't be read, it writes an output block of zeros to keep the block counts in 'sync'). The arch wiki page is very useful: https://wiki.archlinux.org/index.php/disk_cloning https://wiki.archlinux.org/index.php/disk_cloning