From owner-freebsd-stable Tue Sep 29 15:42:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA27007 for freebsd-stable-outgoing; Tue, 29 Sep 1998 15:42:59 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [209.12.7.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26947 for ; Tue, 29 Sep 1998 15:42:42 -0700 (PDT) (envelope-from bicknell@ussenterprise.ufp.org) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.9.1/8.9.1) id SAA15507 for freebsd-stable@freebsd.org; Tue, 29 Sep 1998 18:42:21 -0400 (EDT) From: Leo Bicknell Message-Id: <199809292242.SAA15507@ussenterprise.ufp.org> Subject: SCSI blocks To: freebsd-stable@FreeBSD.ORG Date: Tue, 29 Sep 1998 18:42:20 -0400 (EDT) Reply-To: bicknell@ufp.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a machine that is showing some periodic SCSI errors. I'm pretty sure it is a disk with a few bad blocks on it, as I had this problem with it once before. The exact error is: sd1(ahc0:1:0): MEDIUM ERROR info:0x37c2ce asc:11,0 Unrecovered read error When i had this problem before I reformated the disk and it went away. I don't want to do that this time. :-) Back in my DECStation (ultrix) days "rzdisk" could be used to remap a bad block while the system was up and running. I'd like to do this on my FreeBSD-Stable box, but I'm running into a few problems. First, the error doesn't seem to include a block number or something else I could hand to another program to identify the block. Second, I can't find the right program. scsi(8) is the only thing that looks close, but MAKEDEV doesn't seem to know how to make the "super scsi" device it wants. So, oh great SCSI gurus out there. Is what I want possible? Can someone help tell me how? -- Leo Bicknell - bicknell@ufp.org Systems Engineer - Internetworking Engineer - CCIE 3440 Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message