Date: Sat, 26 Feb 2000 22:30:01 -0700 From: Warner Losh <imp@village.org> To: "Kenneth D. Merry" <ken@kdm.org> Cc: Rahul Dhesi <dhesi@rahul.net>, freebsd-stable@FreeBSD.ORG Subject: Re: disk repair on SunOS Message-ID: <200002270530.WAA64001@harmony.village.org> In-Reply-To: Your message of "Sat, 26 Feb 2000 21:01:21 MST." <20000226210121.A28630@panzer.kdm.org> References: <20000226210121.A28630@panzer.kdm.org> <20000226235005.6973B3FF09@bolero.rahul.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000226210121.A28630@panzer.kdm.org> "Kenneth D. Merry" writes: : First, make sure that read and write reallocation are turned on in mode : page 1. Then you can issue a write(6) or write(10) command using : 'camcontrol cmd' with null data. The drive will remap the block for you. How is this different than 'dd of=/dev/rdaX if=/dev/zero oseek=XXX'? I've turned on read/write reallocation in page 1 in a drive I have here. I did a dd for the entire drive, and I still have sectors I can't read. After doing the remapping via the adaptech 19160 controller for a few sectors, they read fine. It looks like there are about 100 of bad sectors clustered 3 at a time every cylendar or so. It appears that the defect list of the drive was lost.... : To find out the format of SCSI write commands, see the SCSI drafts at : www.t10.org. I was afraid that you'd say that. :-) I suppose this is the same thing that the test media function of a adaptech controller bios, no? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002270530.WAA64001>