[plug] partition image

Jim Householder nofixed at westnet.com.au
Tue Mar 6 16:26:59 WST 2007


Bernd Felsche wrote:
> Jim Householder <nofixed at westnet.com.au> writes:
>> Jim Householder wrote:
> 
>>> dd has made a copy on my FC6 drive, but cannot restore it.
> 
>>> data# ls -al
>>> ...
>>> -rw-r--r--  1 root  root  2167570944 Mar  5 17:55 winme-fresh.image
>>>
>>> data# dd if=winme-fresh.image of=/dev/sda
>>> dd: writing to `/dev/sda': No space left on device
>>> 1034609+0 records in
>>> 1034608+0 records out
>>> 529719296 bytes (530 MB) copied, 10.8999 seconds, 48.6 MB/s
>>>
>>> I get the same result using /dev/sda1 as a destination.
>>>
>>> The copy speed of the original was 1 MB/s, so 48.6 indicates the 
>>> destination is not right.  Also the 530 MB space limit.  Nothing on the 
>>> system appears to correspond to that space.
> 
> $ cat /proc/scsi/scsi
> 
>> I was looking for the wrong thing.  What I need is a *disk* image, not a 
>> partition image.  I think I've found what I need.
> 
>> Still curious as to why dd did not behave as expected though.
> 
> Because you tried to copy a 2GB (suspiciously close to 32-bit
> pointer limit) image to a 530MB disc. You don't happen to have USB
> storage of sorts plugged in?


Thanks

The output device is a USB connected 10GB disk, and the file size is 
about 20MB over 2**31.

However. I still think output is going to the wrong place since the 
external box is USB 1.1.

Jim



More information about the plug mailing list