Re: dd failed
- From: "jasee" <jasee@xxxxxxxxxxxxxx>
- Date: Fri, 26 Oct 2007 09:11:17 +0100
Alan Secker wrote:
I wanted to clone a drive as I have done many times before. I booted
from a knoppix cd and ran dd if=/dev/hde of=/dev/hdg as root. Both
drives had been proven to be sound and bootable before this exercise.
The process stopped with the message 'input/output error'. My
question is: 'What tests can I make to identify what might have gone
wrong?'
Provided you've got the dd command the right way round :-)
And the one partition is writeable (the knoppix cd leaves partitions
readable but not writeable, so you need a writable partition to write the
image file or the blocks (if you're recovering data). An easy test is to
try an create a directory or file in the partition you're trying to write
to, if you can't do that as root, then dd can't either.
If these are not the problem then probably you've encountered bad blocks. By
default dd will stop in such circumstances, so you need to add conv=noerror.
For disk recovery dd is not particularly useful, it's very slow for large
disk with errors dd_rescue or ddrescue is better IMO.
Why people still insist on doing this with error free partitions, I don't
know when there are perfectly good partitioning utilities such as gparted or
gnome partition editor...
.
- Prev by Date: Re: dd failed
- Next by Date: Re: xlib problem?
- Previous by thread: Re: dd failed
- Next by thread: Re: dd failed
- Index(es):
Relevant Pages
|