![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I'm unable to access several directories - I get the following message: $ dir %DIRECT-E-OPENIN, error opening DUB0:[TOOLS.HPL.LISTINGS]*.*;* as input -RMS-E-FND, ACP file or directory lookup failed -SYSTEM-F-FORCEDERROR, forced error flagged in last sector read Even though the directories appear to be there: $ dir /d Directory DUB0:[TOOLS.HPL] DOCUMENT.DIR;1 18-APR-1990 23:47:08.24 EXECUTABLE.DIR;1 18-APR-1990 23:47:09.29 LISTINGS.DIR;1 18-APR-1990 23:47:11.04 OBJECT.DIR;1 18-APR-1990 23:47:22.22 SOURCE.DIR;1 18-APR-1990 23:47:30.40 TEST.DIR;1 18-APR-1990 23:47:47.60 Total of 6 files. Have tried using the DFU utilities but no errors are rported nor can I delete the directories. analyze/disk/repair encounters bad directories but can do nothing to rpair them. What would be my options on getting rid of these directories and possibly restoring from tape backups? Thanks. Bill B. The Answer is : Yes, the directory files are still there, but the (part of) the contents are no longer readable. Sometimes you can recover the still-readable part, but for directories this step can be avoided as they can be recovered using existing tools. The file entries and the files contents still exist within the disk file structure, though access is somewhat more difficult. Perform a ANALYZE/DISK/REPAIR to repair any existing defects in the disk volume structure, then RENAME the existing [000000]SYSLOST.DIR, or look through any [SYSLOST] contents and relocate or delete any files in the directory as appropriate. Issue SET FILE/NODIRECTORY against the broken directory. DELETE the broken directory. Now reissue the ANALYZE/DISK/REPAIR command. The files that were formerly in the broken directory will now be relocated into [SYSLOST]. Rename the SYSLOST.DIR to become the lost directory, and reset the directory protection and the directory ownership to match that of the former directory.
|