bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6667: dd ?bug? while making image of hdd with bad sectors


From: Assaf Gordon
Subject: bug#6667: dd ?bug? while making image of hdd with bad sectors
Date: Wed, 10 Oct 2018 11:13:00 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]