Date: Sun, 5 Jul 1998 11:55:50 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Peter van Heusden <pvh@leftside.wcape.school.za> Cc: Stefan Esser <se@FreeBSD.ORG>, freebsd-hackers@FreeBSD.ORG Subject: Re: SCSI drive not remapping bad block: Any solution (fwd) Message-ID: <Pine.BSF.3.95.980705115406.11284B-100000@current1.whistle.com> In-Reply-To: <Pine.BSF.3.95.980705180732.241A-100000@leftside.wcape.school.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980705115406.11284B-100000>