From owner-freebsd-hackers Sun Jul 5 09:11:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA18296 for freebsd-hackers-outgoing; Sun, 5 Jul 1998 09:11:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picasso.wcape.school.za (picasso.wcape.school.za [196.21.102.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA18291; Sun, 5 Jul 1998 09:11:27 -0700 (PDT) (envelope-from pvh@leftside.wcape.school.za) Received: from uucp by picasso.wcape.school.za with local-rmail (Exim 1.92 #2) id 0ysrNq-0004gV-00; Sun, 5 Jul 1998 18:11:22 +0200 Received: from localhost (pvh@localhost) by leftside.wcape.school.za (8.8.8/8.8.4) with SMTP id SAA00913; Sun, 5 Jul 1998 18:10:23 +0200 (SAT) Date: Sun, 5 Jul 1998 18:10:23 +0200 (SAT) From: Peter van Heusden To: Stefan Esser cc: freebsd-hackers@FreeBSD.ORG Subject: Re: SCSI drive not remapping bad block: Any solution (fwd) In-Reply-To: <19980704194719.60384@mi.uni-koeln.de> 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 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