[Info-vax] VMS defragmenters

P. Sture paul.sture.nospam at hispeed.ch
Sat Apr 18 09:36:49 EDT 2009


In article <00A8A377.BE0D1090 at SendSpamHere.ORG>,
 VAXman-  @SendSpamHere.ORG wrote:

> In article <DRXRwJvo3o04 at eisner.encompasserve.org>, 
> koehler at eisner.nospam.encompasserve.org (Bob Koehler) writes:
> >In article <paul.sture.nospam-4266AC.15410817042009 at mac.sture.ch>, "P. 
> >Sture" <paul.sture.nospam at hispeed.ch> writes:
> >
> >> But beware patch kits which may replace those critical files with new 
> >> versions without the NOMOVE attribute set.
> >
> >   I've never seen a patch kit replace sysdump.dmp, pagefile.sys,
> >   swapfile.sys, or anything in [0,0].  On my system disks those are
> >   the only things VMS puts NOMOVE on.  Even AUTOGEN uses SYSGEN to
> >   resize the pagefile et. al., and SYSGEN always leaves NOMOVE on them
> >   when it's done.
> 
> That's it?  VMB.EXE (VAX) and APB.EXE (Alpha) should be as well.
> 
> Moving the SYSDUMP.DMP wouldn't be a problem unless your system crashes.
> In this case, hope that you have a valid restorable backup of the system
> disk. ;)

$ search sys$system:setfilenomove.com file_name /window=(0,0)

gives the list below on V8.3 (I've taken out the extraneous stuff on 
each line to save clutter). It was done on an Alpha, but the inclusion 
of SYS$EFI.EXE suggests it's common with Itanium.

<000000>000000.DIR;1
<000000>SYS*.DIR;1
<000000>VMS$COMMON.DIR;1
<SYS*>*.DIR;1
<VMS$COMMON>*.DIR;1
<000000>QUORUM.DAT;*
<SYS*.SYS$LDR>*.EXE;*
<VMS$COMMON.SYS$LDR>*.EXE;*
<SYS*.SYSEXE>CLUSTER_AUTHORIZE.DAT;*
<VMS$COMMON.SYSEXE>CLUSTER_AUTHORIZE.DAT;*
<SYS*.SYSEXE>SYS$INCARNATION.DAT;*
<VMS$COMMON.SYSEXE>SYS$INCARNATION.DAT;*
<SYS*.SYSEXE>LOGINOUT.EXE;*
<VMS$COMMON.SYSEXE>LOGINOUT.EXE;*
<SYS*.SYSEXE>PAGEFILE.SYS;*
<VMS$COMMON.SYSEXE>PAGEFILE.SYS;*
<SYS*.SYSEXE>STABACKUP.EXE;*
<VMS$COMMON.SYSEXE>STABACKUP.EXE;*
<SYS*.SYSEXE>STACONFIG.EXE;*
<VMS$COMMON.SYSEXE>STACONFIG.EXE;*
<SYS*.SYSEXE>SWAPFILE.SYS;*
<VMS$COMMON.SYSEXE>SWAPFILE.SYS;*
<SYS*.SYSEXE>SYSBOOT.EXE;*
<VMS$COMMON.SYSEXE>SYSBOOT.EXE;*
<SYS*.SYSEXE>SYSDUMP.DMP;*
<VMS$COMMON.SYSEXE>SYSDUMP.DMP;*
<SYS*.SYSEXE>*.PAR;*
<VMS$COMMON.SYSEXE>*.PAR;*
<SYS*.SYSEXE>APB.EXE;*
<VMS$COMMON.SYSEXE>APB.EXE;*
<SYS*.SYSLDR>SYS$EFI.SYS;*
<VMS$COMMON.SYSLDR>SYS$EFI.SYS;*
<SYS*.SYSMSG>SYSMSG.EXE;*
<VMS$COMMON.SYSMSG>SYSMSG.EXE;*

Note the EXEs in SYS$LDR

When I implemented DFO on on a whole bunch of systems, I wrote a command 
procedure which read setfilenomove.com to check the files concerned and 
set the NOMOVE attribute if possible (not possible for files open by VMS 
itself). This did save me quite a few reboots over the following years.

P.S. It's a pity that F$FILE_ATTRIBUTES can't access open files to 
return the MOVE attribute - I had to inspect those files manually with a 
DIR/FULL.

-- 
Paul Sture



More information about the Info-vax mailing list