Hi,

I was mirroring some disks (happily ignoring badblocks), using
  rsh source_machine dd if=/dev/ad0 bs=1MB | dd of=/dev/ad0 bs=1MB
with FreeBSD-4.3-release running both machines.

This sometimes (disastrously) aborts when a partition boundary is crossed.
Sure enough, dscheck() invoked from diskstrategy() complains about b_bcount
not on a sector boundary (happens in one of three locations within dscheck).

I think this condition should not be checked when dd'ing entire disks.
Incidentally, I think the 2.2.6-release kernel does the right thing.

On a related note, is there any reason why dd should abort after 8GB?
I'm not sure this always happens, but I've definitely noticed it once.

PS - please Cc any replies to me. Thanks.
Sitaram

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to