[plug] re; bad block on disk

Andrew Cooks acooks at gmail.com
Wed Jun 6 15:22:07 WST 2012


On Wed, Jun 6, 2012 at 11:45 AM, Brad Campbell <brad at fnarfbargle.com> wrote:
> On 06/06/12 10:30, Andrew Cooks wrote:
>
>>     dd if=/dev/sdb1 of=/mnt/recover_sdb1 conv=noerror bs=1024k
>
>
> I tried this recently and got burned. the conv=noerror means it won't abort
> on an error, but it also won't write the entire block to the output stream.
> It will only write out what it managed to read. This leaves the remainder of
> your filesystem mis-aligned and badly broken.
>
> I had to add conv=sync to make dd pad the unread part.
>

Thanks for the correction!


More information about the plug mailing list