[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Recovering from deleted VMS$COMMON.DIR?

» close window

The Question is:

 
Hello wizard,
 
I have deleted in the root the directory "VMS$COMMON".
After the deleting I've created a new directory with the command "create
/dir ".
But the file-id of the new directory VMS$COMMON.dir is not the same as the
real directory SYS$SYSDEVICE:[SYS0]SYSCOMMON.dir.
 
Question:
How can I modified the fileID of the new created directory, that the
dir-pointer will also look to sys$sysdevice:[sys0.syscommon].
 


The Answer is :

 
  The answer depends on what exactly was done, and what command(s)
  were used.  This might or might not be easily recoverable.
 
  If the directory itself was deleted, then the contents of the
  directory must also (normally) be deleted.  If the contents are
  deleted, then the main system disk directories have been deleted.
 
  If the contents of the system disk root(s) have been deleted, then
  a system disk restoration from the most recent BACKUP or an OpenVMS
  operating system reinstallation is generally a requirement.
 
  If the VMS$COMMON.DIR alias entry was removed and the system files
  are still present, then the usual approach is to use SET FILE/ENTER
  to add an alias entry for the file SYS$SYSDEVICE:[SYS*]SYSCOMMON.DIR,
  then to use DFU (Freeware) or ANALYZE/DISK/REPAIR to reset the backlinks
  to the correct file.
 

answer written or last revised on ( 17-DEC-1999 )

» close window