HP OpenVMS Systems

ask the wizard
Content starts here

Fast(er) ANALYZE/DISK/REPAIR?

» close window

The Question is:

 
An old piece of software created over 65000 log files in a directory.  The
system manager removed these using "set file/nodir dirname.dir" and deleting
the directory file.
 
The disk has part of a constantly open database and a lot of user files, so
I have to clean up the mess without taking the disk offline for more than 1
hour.  Analyse takes about nine hours in tests on a similar machine.  Any
suggestions?
 
Simon
 
P.S. The disk is part of a shadow set (host based) if this is any help.
 


The Answer is :

 
  You have a problem.  Several, in fact.  Ignoring the lack of a
  window, it would appear there are training issues involved.
 
  The files can safely remain in the system disk pending the next
  time when you can perform an ANALYZE/DISK/REPAIR, but they will
  continue to (unnecessarily) occupy disk storage.
 
  Depending on your level of interest, you could examine the file
  headers using low-level $qio calls to the XQP, looking for the
  footprint of a file in the now-missing directory.  You could then
  update the file header to reflect a valid file.
 
  Alternatively, see if the DFU package available on the OpenVMS
  Freeware can reduce the amount of time required to resolve the
  file structure problems.

answer written or last revised on ( 16-MAR-1999 )

» close window