Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • 1
    Bah, jofel beat me to it. Still leaving though as the answer is slightly different. Also invoking pv in the method I provided lets pv give you progress of how much is left (including time estimates), instead of just how much has transferred so far. Commented Mar 15, 2012 at 19:32
  • why ibs=1M and obs=1M? Commented Mar 16, 2012 at 1:26
  • 1
    Larger block sizes (over the default for dd) improve IO to/from physical volumes. While the the value jofel gave (64k) is probably fine, memory is cheap and I usually just set it at 1m. Commented Mar 16, 2012 at 8:29
  • 1
    @jofel piping to /dev/null is not a valid test. Its size of the blocks to/from the physical volume that matters. Commented Mar 16, 2012 at 9:32
  • 1
    +1 because of using dd's default stdin instead of cat. Much better. Commented Mar 16, 2012 at 20:44