How to do bad block replacement on RA81 under 4.3-tahoe?
Chris Torek
chris at mimsy.umd.edu
Wed Oct 25 04:47:40 AEST 1989
In article <1008 at asuvax.asu.edu> system at asuvax.asu.edu (Marc Lesure) writes:
>I thought the 4.3-tahoe device driver for the ra disk series did bad block
>replacement ...
Nope, sorry. It was `too hard' (not to mention practically impossible to
test). Maybe someday. . . .
>The man page for the uda says to get DEC to replace the bad block via EVRLK.
>Since we are not on DEC maint., is there another way of doing this?
Steal a copy of EVRLK :-)
Incidentally, I am still not sure of the name. There *is* a standalone
diagnostic that will do it, though. (There may be several.)
>With the RM05 disks I used 'badsect', but this doesn't seem to work with
>the RA81.
`bad144' is for DEC STD 144 disks (e.g., RP06, Eagle on Massbus, etc.).
`badsect' should work but is not very nice. I have never used it myself.
If you are really ambitious, add an ioctl to allow `replace' commands,
and write a user-level program to do it. You will have to let the
program write past the `end' of the disk (either via another ioctl,
or by `adjusting' the size of, e.g., the c partition).
The algorithm used for replacement can be found in the VMS source.
(eeuck)
--
`They were supposed to be green.'
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain: chris at cs.umd.edu Path: uunet!mimsy!chris
More information about the Comp.unix.questions
mailing list