Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 1998 18:10:23 +0200 (SAT)
From:      Peter van Heusden <pvh@leftside.wcape.school.za>
To:        Stefan Esser <se@FreeBSD.ORG>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: SCSI drive not remapping bad block: Any solution (fwd)
Message-ID:  <Pine.BSF.3.95.980705180732.241A-100000@leftside.wcape.school.za>
In-Reply-To: <19980704194719.60384@mi.uni-koeln.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980705180732.241A-100000>