GNU bug report logs -
#6667
dd ?bug? while making image of hdd with bad sectors
Previous Next
Reported by: Jakub Muszynski <sirkubax <at> gmail.com>
Date: Mon, 19 Jul 2010 13:17:02 UTC
Severity: normal
Tags: notabug
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #13 received at control <at> debbugs.gnu.org (full text, mbox):
tags 6667 notabug
close 6667
stop
Hello,
On 19/07/10 08:44 AM, Pádraig Brady wrote:
> On 19/07/10 10:05, Jakub Muszynski wrote:
>> I have been trying to make a dd copy :
>>
>> dd if=/dev/sdb conv=noerror,sync bs=4096k|pv| dd of=usb320.dd
>> conv=noerror,sync bs=4096k > dd320.LOG
>>
>> but image took all my free diskspace (406GB), and terminated, eventhough
>> my hdd is 320GB
>
> dd doesn't read full blocks by default,
> so one has to be careful when reading from pipes.
[...]
> Does adding "iflag=fullblock" to the second dd fix things?
> Since you're not specifying a count, just removing the
> "sync" option from the second dd is equivalent.
With no further comments in 8 years, I'm closing this item.
regards,
- assaf
This bug report was last modified 6 years and 280 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.