[mod.computers.vax] From disk LBN to filename?

ESMP09@SLACTWGM.BITNET.UUCP (05/14/86)

Need a disk cross reference (LBN to disk filename)
--------------------------------------------------

  Does anyone have a program which can tell me which disk file contains
a specified disk block?  (VMS 4.2, Files-11 Structure Level 2.)  Why do I
ask?  Our RP07 has a soft error on a particular disk block, an error which
is dutifully logged hundreds of times per day.  ANALYZE/ERROR
reveals the identity of the block (cylinder, track, and sector--
which I can convert to a logical block number), but of course
does not reveal the identity of the file which contains the block.
ANALYZE/DISK/READ_CHECK does not report the problem (perhaps the block does
not always get an error, or perhaps /READ_CHECK does not report soft
errors?).  The official recommendation from DEC:  backup disk /
run BAD / restore disk.  [Thanks, but no thanks.]  No doubt I could write
a procedure to read thru the index file to find the file which contains
this errant block--but I'm not proud, I'm willing (even anxious) to
reap the benefits of someone else's efforts.

Thanks in advance,
  Ed Miller
  ESMP09@SLACTWGM.BITNET

cetron%utah-cbd@UTAH-CS.ARPA (Ed Cetron) (05/15/86)

	There is a program for rsx (files-11 ods level 1) called fndblk
which does exactly what you wish....I don't know off-hand how much modification
it would need in order to handle ods-2...If no better offer comes forward, I
would be more than willing to send you the sources...

	ed cetron 	cetron%utah-cbd@utah-cs.arpa -or-  cetron@utah-cbd.arpa