Oct 11 05:37:04 s1 /kernel: (da3:ahc2:0:5:0): READ(10). CDB: 28 0 2 6 e0 10 0 0 50 0
Oct 11 05:37:04 s1 /kernel: (da3:ahc2:0:5:0): MEDIUM ERROR info:206e016 asc:11,b
Oct 11 05:37:04 s1 /kernel: (da3:ahc2:0:5:0): Unrecovered read error - recommend reassignment sks:80,2d
Oct 11 05:37:04 s1 /kernel: vinum: v0.p0.s1 is crashed by force
Oct 11 05:37:04 s1 /kernel: vinum: v0.p0 is corrupt
Oct 11 05:37:05 s1 /kernel: vinum: v0.p0.s1 is stale by force
The disk is an IBM DMVS18D:
da3 at ahc2 bus 0 target 5 lun 0
da3: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da3: <IBM DMVS18D 0100> Fixed Direct Access SCSI-3 device
Assuming it simply means I have a bad block, what's the easiest way to
force a reassignment of the block? The OS is 3.4-RELEASE.
Steinar Haug, Nethelp consulting, sth...@nethelp.no
To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message
> Assuming it simply means I have a bad block,
Yes, it does.
> what's the easiest way to
> force a reassignment of the block?
dd if=/dev/zero of=/dev/rda3 skip=0x206e016 count=1
This assumes you've got automatic bad block reallocation
turned on (modepage 1).
Another option is to reformat it, but IMHO camcontrol didn't provide a
»canned« option for this in FreeBSD 3.4. You could manually do it
with
camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'
(Careful, there are no seat belts with this command -- if you get it
wrong, in particular that -u 3, you might format another drive without
any further questions being asked!)
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Look for AWRE and ARRE in the mode page.
> Another option is to reformat it, but IMHO camcontrol didn't provide a
> »canned« option for this in FreeBSD 3.4. You could manually do it
> with
>
> camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'
camcontrol format also works for recent FreeBSD versions. man camcontrol
is really recommended reading here.
> (Careful, there are no seat belts with this command -- if you get it
> wrong, in particular that -u 3, you might format another drive without
> any further questions being asked!)
camcontrol format will ask and is therefore prefered.
Wilko
--
| / o / /_ _ email: wi...@FreeBSD.org
|/|/ / / /( (_) Bulte Arnhem, The Netherlands
> > camcontrol cmd -n da -u 3 -t 7200 -c '4 0 0 0 0 0'
> camcontrol format also works for recent FreeBSD versions. man
> camcontrol is really recommended reading here.
But Steinar explicitly wrote:
"The OS is 3.4-RELEASE."
;-)
(camcontrol format is available only starting with FreeBSD 4.1.)
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
To Unsubscribe: send mail to majo...@FreeBSD.org
Yes, I missed that one :-(
--
| / o / /_ _ email: wi...@FreeBSD.org
|/|/ / / /( (_) Bulte Arnhem, The Netherlands
To Unsubscribe: send mail to majo...@FreeBSD.org