dd "Input/output error"
Hi:
I am using dd command to copy a compactflash card (64M): Put the CF card to card reader then insert it to the laptop USB port. Then use the command to copy whole CF card to local hard drive: dd if=/dev/sdb of=/tmp/CFtmp bs=64M count=100 I got the error msg: dd: reading '/dev/sdb/:Input/output error 0+1 records in 0+1 records out 64192512 bytes (64 MB) copies, 83.3284 seconds, 780 kb/s thx :):mad: |
Setting the bs value to 64M means that you only need a count of 1, not 100. At the moment, dd's trying to read 64MB of data from the compact flash card 100 times. That's why it complains about there being no more data to copy (Input/output error).
I'd recommend not setting bs to 64M in case there's a problem, in which case it's generally considered better to have smaller blocks. |
Quote:
You are right. So I think I can use the default values: dd if=/dev/sdb of=/tmp/CFtmp The error msg just gone. |
BTW, how can I get rid of DD output msg?
125440+0 records in 125440+0 records out 64255280 bytes (64M) copies, 12.2689 seconds, 5.2 MB/s I just want to run dd quitely. |
In bash:
Code:
dd if=/dev/sdb of=/tmp/CFtmp &> /dev/null |
Quote:
It works. |
All times are GMT -5. The time now is 07:09 AM. |