raw disk copying?
uban at ubanproductions.com
Wed Apr 26 12:50:12 CDT 2006
At 07:00 PM 4/26/2006 +0200, Jochen Kunz wrote:
>On Wed, 26 Apr 2006 11:16:42 -0500
>Tom Uban <uban at ubanproductions.com> wrote:
> > I tried using the 'dd' command with the 'conv=noerror' option under
> > both the NetBSD and G4U systems and found that the option was
> > disabled.
>Strange. How was noerror "disabled"?
>Maybe you need "conv=noerror,sync bs=512", see:
When I run 'dd if=/dev/rwd0d of=/dev/rwd1d bs=64k conv=noerror' on
NetBSD, the command reports 'dd: conv option disabled' and exits.
FWIF: The linux 'dd' completed with the 'conv=noerror' option set
and the report from 'dmesg' indicated 85 bad sectors in a total
of 4 groups.
It looks like I need to do the copy again with the 'sync' option
set as you suggest if I want to maintain the file offsets between
the two images. Thanks for pointing this out...
More information about the cctalk