Date: Fri, 11 May 2001 17:10:33 -0500 From: Sitaram Iyer <ssiyer@cs.rice.edu> To: freebsd-hackers@FreeBSD.org Subject: possible bug in/around dscheck()? Message-ID: <20010511171033.A4960@cs.rice.edu>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010511171033.A4960>