From owner-freebsd-hackers Sun Jul 5 15:15:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA24232 for freebsd-hackers-outgoing; Sun, 5 Jul 1998 13:33:50 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatekeeper.whistle.com (gatekeeper.whistle.com [207.76.204.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA24074; Sun, 5 Jul 1998 13:33:10 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from smap@localhost) by gatekeeper.whistle.com (8.7.5/8.6.12) id MAA21246; Sun, 5 Jul 1998 12:08:30 -0700 (PDT) Received: from alpo.whistle.com(alpo 207.76.204.38) by gatekeeper via smap (V2.0) id xma021244; Sun, 5 Jul 98 12:08:14 -0700 Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA21012; Sun, 5 Jul 1998 11:56:02 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd021010; Sun Jul 5 18:55:53 1998 Date: Sun, 5 Jul 1998 11:55:50 -0700 (PDT) From: Julian Elischer To: Peter van Heusden cc: Stefan Esser , freebsd-hackers@FreeBSD.ORG Subject: Re: SCSI drive not remapping bad block: Any solution (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG fistly, use rsd2 not rsd2c (if it's dange=ously dedicated..) or rsd2s1 if it has slices.. secondly many drives go read-only when they run out of replacement sectors.. I have one here (a Quantum) that has done this.. On Sun, 5 Jul 1998, Peter van Heusden wrote: > On Sat, 4 Jul 1998, Stefan Esser wrote: > > [snip] > > > In order to recover from that error, you may want to write new > > data to the replacement sector, and the easiest way to do this > > is to "dd if=/dev/zero of=/dev/rsd1c bs=64k" (assuming that the > > drive is "sd1" ...). > > Thanks, I tried this, but dd returned: > > dd: /dev/rsd2c: Read-only file system > > which I can't understand, because ls -l /dev/rsd2c gives: > > crw-r----- 1 root operator 13, 18 Jul 5 18:07 /dev/rsd2c > > Is there something I should do before I can write to this device? > > Thanks, > Peter > P.S. Is there anywhere I can find out more about SCSI so that I understand > this stuff better? > -- > Peter van Heusden | Computers Networks Reds Greens Justice Peace Beer Africa > pvh@leftside.wcape.school.za | Support the SAMWU 50 litres campaign! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message