[mod.computers.vax] deleting the pagefile

garry@TCGOULD.TN.CORNELL.EDU.UUCP (12/05/86)

In a recent article gr65%sdcc12@SDCSVAX.ARPA said:
>   On our MicroVAX VMS 4.4, I have 4 directory files that have
>invalid format -- the first rec illegally spans a block (according
>to ANALYZE/RMS)...
>...
>This latest problem cropped up in an amazing unrelated instance when my
>co-manager deleted a duplicate pagefile.sys ...

1) You should do a SET FILE/NODIR on the bad .DIR files, unprotect them, 
   delete them, and run ANAL/REPAIR again to recover the files that were 
   in them. They mumble about this somewhere in the documentation.

2) Deleting an active Pagefile is a Bad Thing - the file system goes ahead
   and recycles those disk blocks, but the operating system just goes ahead
   and keeps writing them. Damn thing oughta be opened with a write-lock,
   but it happens so early in the boot there is no file system at hand to
   do the job. If you really want to, you can detach a job at system
   startup which just opens the pagefile and sits on it... (I just tried
   Installing it, but no dice.)

garry wiegand   (garry%cadif-oak@cu-arpa.cs.cornell.edu)