From owner-freebsd-scsi Tue Oct 16 11:21:12 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id C884637B403 for ; Tue, 16 Oct 2001 11:21:06 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id UAA22769 for freebsd-scsi@freebsd.org; Tue, 16 Oct 2001 20:21:04 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id f9GIIhY58740; Tue, 16 Oct 2001 20:18:43 +0200 (MET DST) (envelope-from j) Date: Tue, 16 Oct 2001 20:18:43 +0200 (MET DST) Message-Id: <200110161818.f9GIIhY58740@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20490.1002979652@verdi.nethelp.no> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: Unrecovered read error and corresponding ASC X-Original-Newsgroups: local.freebsd.scsi To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org sthaug@nethelp.no wrote: > Assuming it simply means I have a bad block, Yes, it does. > what's the easiest way to > force a reassignment of the block? dd if=/dev/zero of=/dev/rda3 skip=0x206e016 count=1 This assumes you've got automatic bad block reallocation turned on (modepage 1). Another option is to reformat it, but IMHO camcontrol didn't provide a »canned« option for this in FreeBSD 3.4. You could manually do it with camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0' (Careful, there are no seat belts with this command -- if you get it wrong, in particular that -u 3, you might format another drive without any further questions being asked!) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message