Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!decvax!ucbvax!TCGOULD.TN.CORNELL.EDU!garry
From: garry@TCGOULD.TN.CORNELL.EDU.UUCP
Newsgroups: mod.computers.vax
Subject: Re: deleting the pagefile (BAD THING)
Message-ID: <8612050904.AA10947@tcgould.tn.cornell.edu>
Date: Fri, 5-Dec-86 04:04:32 EST
Article-I.D.: tcgould.8612050904.AA10947
Posted: Fri Dec  5 04:04:32 1986
Date-Received: Sun, 7-Dec-86 04:57:18 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: Cornell Engineering && Flying Moose Graphics
Lines: 22
Approved: info-vax@sri-kl.arpa

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)