LDFU V2.7 !

DFU V2.7


1Previous. | Contents


DThese 2 options can be used to get files which have a creation date Dbefore or after a specific date. The BEFORE and SINCE option can be combined in one command."

/EXCLUDE=(file1,file2...)

EThis qualifier is used to exclude files from the search. You can use ;wildcard filenames ; you can also specifiy a list of files.!

/EXPIRED=option(,option)

BThe /EXPIRED qualifier is used to search files depending on their "expiration date. The options are :

?The NONE option gives files which don't have a expiration date Crecorded.The other 2 options can be used to get files which have a Fexpiration date before or after a specific date. The BEFORE and SINCE &option can be combined in one command.

/FID=file-id

FThe /FID qualifier is a special function of SEARCH. It directs SEARCH Hto go directly to the specified file without processing the rest of the CIndex file. Therefore, you cannot combine this qualifierwith other Gsearch qualifiers such as /FILE. Normally a file-id consists is in the Hform (x,y,z) where x is the number of the file header within INDEXF.SYS Hy is the sequence number, and z is the Relative Volume Number. You only 3need to specifiy the x value in the /FID qualifier.

/FILE=(file1,file2...)

@This qualifier is used to search for files with a specific file Ename.You can use wildcard file names; also you can specify a list of files.

/FORMAT=format-string

FCreate an output file in a format described by the format string. The Gstring must contain the !AS directive (this must be uppercase). At the C!AS location the resultant filename will be filled in. The /OUTPUT qualifier is required.*

/FRAGMENT=(MINIMUM=nr,MAXIMUM=nr)

DThis qualifier displays the number of fragments and file headers of Deach file found. You can further limit the files found by using the *MINIMUM and MAXIMUM= options. For example:
DFU> disk/FRAG DFU> disk/FRAG=min=10 #DFU> disk/FRAG=(min=10,max=100) 




/FULL

HIf you use this qualifier, SEARCH will give a full output for each file Ffound. This output is a look-alike of the output from DIRECTORY/FULL. 9You cannot combine this qualifier with /SORT or /SUMMARY.

/HOME

BThis qualifier directs search to give output from the disk's home Dblock. SEARCH uses the home block for calculating the free and used file headers within INDEXF.SYS.%

/(NO)IDENT=identifier or uic

DYou can search for files owned by a specific identifier or UIC. Any ?valid UIC or identifier format may be used. Another way is the C/OWNER_UIC qualifier; you cannot combine these 2 qualifiers in one FSEARCH command. Issueing /NOIDENT directs DFU to search for files NOT -owned by this IDENTIFIER, eg: DFU> SEARCH sys$sysdevice/NOIDENT=SYSTEM."

/LBN=logical-block-number

GThe /LBN qualifier is a special function of SEARCH. This allows you to Efind a file which contains a specific LBN. This may be useful if you Fhave bad blocks logged in the error log. You cannot combine /LBN with search qualifiers such as /FILE.'

/LIMIT=(MINIMUM=n,MAXAXIMUM=m)

FSearches DIRECTORY files which have a default version limit between n Aand m (including n and m). Either MINIMUM or MAXIMUM is required.&

/NAME_TYPE=ODS2 | ISL1 | UCS2

GSearch for files which have the specified name type attribute. ODS2 if Ffor classic VMS file names, ISL1 is for Iso-Latin-1 names and UCS2 is Efor Unicode names. This qualifier is only meaningfull for ODS5 disks (requires VMS 7.2).)

/(NO)OWNER_UIC=uic or identifier

?This qualifier is used to get files owned by a specific UIC or Gidentifier. Any valid UIC or identifier format may be used. You cannot Gcombine this qualifier with /IDENT. Specifying /NOOWNER directs DFU to 5search for files NOT owned by this UIC or identifier.

/NOSEARCH

FThis qualifier can only be used in combination with /HOME. It is used =to get the Homeblock info, without searching the entire disk.

/NOVOLSET

HThe default behaviour of SEARCH is to process an entire volume set. You Dcan override this behaviour with /NOVOLSET. This may be useful when doing a /LBN search."

/MODIFIED=option(,option)

CThe /MODIFIED qualifier is used to search files depending on their $modification date. The options are :

HThese 2 options can be used to get files which have a modification date Dbefore or after a specific date. The BEFORE and SINCE option can be combined in one command.

/MULTIPLE

EThis qualifier searches for files which have more than 1 file header.?

/ORGANIZATION=INDEXED | SEQUENTIAL | RELATIVE | DIRECT

:Search for files with the specified RMS file organization.

/OUTPUT=file

GThis qualifier redirects the output from SEARCH to an output file.This Hfile can later be used as input to the DEFRAG, DIRECTORY or SET command.

/OVER_ALLOCATED=n

GSearches for files where the difference between the used and allocated size is at least 'n' blocks.

/PLACED

GChecks for files which have a placement control retrieval pointer.This :is sometimes set by non-DEC disk defragmentation programs.,

/SIZE=(minimum=size1,maximum=size2)

HThe /SIZE qualifier is used to limit files found by their file size.You Bcan either use minimum= or maximum= or use both options together. FSEARCH will use the actual file size for selecting files, except when !the /ALLOCATED qualifier is used.

/SORT

FThis qualifier will sort the files found before being output. You can ?combine this with the /OUTPUT qualifier (the default output is SYS$OUTPUT).

/STATISTICS

FThis qualifier displays the performance statistics: CPU time, Elapsed Time, I/O and PageFaults.

/SUMMARY

BThis qualifier will limit the output to the total number of files Efound, with their size (and optional the fragmentation when /FRAG is .used). You cannot combine /SUMMARY with /FULL.

/TYPE=option

CThe /TYPE qualifier has 2 options : /TYPE=ODS2 or /TYPE=ODS5. This Hqualifier can be used to search for files with either a ODS2 or an ODS5 Dfile header. This qualifier is only usefull on ODS5 disk (VMS V7.2)..

/VERSION_NUMBER=(minimum=n,maximum=m)

FThe /VERSION_NUMBER qualifier is used search for files within a range E(n thru m) of file version numbers. Logfiles which are produced with Dthe same name may pose problems when they reach the maximum version Enumber (32767). Using /VERSION=MIN=32000 is a quick way to find such files. 




3

Chapter 11
SET



GThis chapter describes the SET command with the related parameters and qualifiers.5

11.1 Introduction



DThe SET command allows you to modify file attributes which can't be Emodified through DCL commands. Note that you should be careful about Dusing this function; you may easily corrupt files. This much wanted Dfunctionality was introduced in VMS 6.0 with a new DCL command $SET GFILE/ATTRIBUTES. Still DFU's SET has some options which are not in SET 0FILE/ATTRIBUTES (such as setting a BACKUP date).

EThe new qualifier, /IGNORE=INTERLOCK, allows setting file attributes even on open or locked files.F

11.2 UIC and identifier processing



FAs of version V2.4 of DFU the /OWNER and /IDENT qualifier now accepts Ball valid UIC or identifier formats. See chapter 10.5 for details.


$

SET



Modify file attributes.



Format

#

SET file1,file2,...,@file




PARAMETERS



file1,file2,...,@file

FThe files to be modified. The attributes to be modified are specified Ewith qualifiers. Wildcards area allowed in the filename. An indirect Gfile can be used by using the @ sign. This allows processing of a file &list produced by a DFU SEARCH command.



QUALIFIERS



/ACCESS_DATE=date



/NOACCESS_DATE

EControls whether a new last-access date is assigned to the specified Hfiles. (V7.2 only) Specify the date according to the rules described in EChapter 1 of the VMS DCL Concepts Manual. Absolute date keywords are Dallowed. If you specify 0 as the date, today's date is used. If you Bspecify /NOACCESS_DATE the last access date field will be cleared.

/ATTRIBUTE_DATE=date



/NOATTRIBUTE_DATE

EControls whether a new last attribute change date is assigned to the Especified files (V7.2 only). Specify the date according to the rules Edescribed in Chapter 1 of the VMS DCL Concepts Manual. Absolute date Dkeywords are allowed. If you specify 0 as the date, today's date is Fused. If you specify /NOATTRIBUTE_DATE the last attribute change date field will be cleared.

/BACKUP_DATE=date



/NOBACKUP_DATE

GControls whether a new backup date is assigned to the specified files. FSpecify the date according to the rules described in Chapter 1 of the DVMS DCL Concepts Manual. Absolute date keywords are allowed. If you <specify 0 as the date, today's date is used. If you specify 5/NOBACKUP_DATE the Backup date field will be cleared.

/BADACL



/NOBADACL

BSets or resets the 'BADACL' flag in the file header. This enables (deletion of a file with a corrupted ACL.

/BCK



/NOBCK

GClears or sets the files NOBACKUP bit. Setting a file to NOBACKUP with 5/NOBCK causes it to be skipped by a BACKUP operation.

/BUCKETSIZE=size

8Sets a new value for the bucket size in the file header.

/CONFIRM



/NOCONFIRM (default)

@Controls whether a request is issued before each individual SET Doperation to confirm that the operation should be performed on that Bfile. When the system issues the prompt, you can issue any of the following responses:
  YES      NO     QUIT   TRUE     FALSE  CTRL/Z   1        0      ALL            <RET> 


EYou can use any combination of upper- and lowercase letters for word Dresponses. Word responses can be abbreviated to one or more letters D(for example, T, TR, or TRU for TRUE). Affirmative answers are YES, FTRUE, and 1. Negative answers are NO, FALSE, 0, and <RET>. QUIT Dor CTRL/Z indicates that you want to stop processing the command at @that point. When you respond with ALL, the command continues to Hprocess, but no further prompts are given. If you type a response other ;than one of those in the list, the prompt will be reissued.

/CONTIGUOUS_BEST_TRY



/NOCONTIGUOUS_BEST_TRY

@Sets or resets the 'CONTIGUOUS_BEST_TRY' bit in the file header.

/CREATION_DATE=date



/NOCREATION_DATE

BControls whether a new creation date is assigned to the specified Ffiles. Specify the date according to the rules described in Chapter 1 Gof the VMS DCL Concepts Manual. Absolute date keywords are allowed. If 0you specify 0 as the date, today's date is used.

/DIRECTORY



/NODIRECTORY

HSets or resets the directory attribute of a file. This qualifier allows Fyou to set the directory bit of a file which was mistakingly reset by Ethe 'SET FILE/NODIRECTORY' command. If it is done on a non-directory Dfile, then access to that directory will give a 'BADIRECTORY' error.

/EBLOCK[=block]

DThis qualifier will reset the end-of-file mark to the highest block Dallocated if no block has been specified. Otherwise the end-of-file (mark will be set to the specified block.

/EBYTE[=byte]

FThis qualifier will set the end-of-file byte mark to the highest byte Gif it has not been specified. Otherwise the end-of-file byte mark will be set to the specified byte.

/EXPIRATION_DATE=date



/NOEXPIRATION_DATE

HControls whether an expiration date is assigned to the specified files. FSpecify the date according to the rules described in Chapter 1 of the DVMS DCL Concepts Manual. Absolute date keywords are allowed. If you ,specify 0 as the date, today's date is used.!

/IDENT=identifier or uic

<Modify the file ownership. See also /OWNER_UIC. This allows Amodification of the file-ownership even if the file is open, eg. 6INDEXF.SYS. You cannot use both /IDENT and /OWNER_UIC.

/IGNORE=INTERLOCK

BPerform the SET command on open or locked files. Default DFU will Creturn a %SYSTEM-E-ACCONFLICT on open files. The /IGNORE=INTERLOCK #option can overrule this behaviour.

/LOCKED



/NOLOCKED

FThis qualifier will lock a file for future use. Nothing else can then Dbe done with the file, until it is unlocked (which can also be done with the VMS 'UNLOCK' command.

/LOG (default)



/NOLOG

DControls whether the SET command displays the file specification of )each file after the modification is made.

/MAXREC=record

BSets a new value for the maximum record number in the file header.

/NOMOVE

FThis qualifier disables or enables (/NONOMOVE) the MoveFile attribute Don files. It is the same as the DCL command SET FILE/NOMOVE, but in Fconjunction with /IGNORE=INTERLOCK DFU can change the setting on Open or Locked files.

/ORGANIZATION=keyword

CThe following keywords are used as parameters for the ORGANIZATION Equalifier: DIRECT, INDEXED, RELATIVE and SEQUENTIAL. This will allow Gyou to modify the file organization type in the file header. Of course 4this won't change the real organization of the file.%

/OWNER_UIC=uic or identifier

DModify the file ownership to an UIC or identifier. See also /IDENT. CThis allows modification of the file-ownership even if the file is @open, eg. INDEXF.SYS. You cannot use both /IDENT and /OWNER_UIC.

/RECATTRIBUTES=keyword

DThe following keywords are used as parameters for the RECATTRIBUTES Equalifier: NONE, FORTRAN, IMPLIED, PRINT and NOSPAN. This will allow Eyou to modify the file's record attributes in the file header. NONE, FFORTRAN, IMPLIED and PRINT are mutually exclusive, but can be used in Ecombination with NOSPAN. When NOSPAN is omitted SPAN is assumed (the 7default is to allow records to cross block boundaries).

/RECSIZE=size

8Sets a new value for the record size in the file header.

/RECTYPE=keyword

>The following keywords are used as parameters for the RECTYPE Fqualifier: FIXED, STREAM, STREAMCR, STREAMLF, UNDEFINED, VARIABLE and FVFC. This will allow you to modify the file's record type in the file header.

/REVISION_DATE=date



/NOREVISION_DATE

EControls whether a revision date is assigned to the specified files. FSpecify the date according to the rules described in Chapter 1 of the DVMS DCL Concepts Manual. Absolute date keywords are allowed. If you ,specify 0 as the date, today's date is used.

/RVCOUNT=count

;Sets a new value for the revision count in the file header.

/UPDATE



/NOUPDATE (default)

<Normally the file's revision date will be updated after any Dmodification to it. SET however disables this update (otherwise the HREVISION date could not be set). Specify this qualifier if you want the revision date to be updated.

/VFCSIZE=size

FSets a new value for the VFC size in the file header. This value will &only be used with the VFC record type.





8

Chapter 12
UNDELETE



HThis chapter describes the UNDELETE command with the related parameters and qualifiers.cU5

12.1 Introduction

U

/?The UNDELETE function is designed to recover deleted files, if hHpossible. UNDELETE operates in a safe mode such that it first checks if Dthe deleted file header and diskblocks are still available. Only in Hthat case will the file be recovered. Otherwise UNDELETE will leave the 5disk unmodified. UNDELETE has some powerfull options: 

T

rB

12.2 File specification syntax

GBecause a deleted file no longer 'knows' its parent directory you must >FNOT enter a directory specification in the file name. Therefore , the 'syntax to undelete a specific file is : 
 >   DFU> UNDELETE <device:>/file=<filename.ext>  u eg:   b*   DFU> UNDELETE $1$DIA1:/file=FOO.BAR 


FEDFU will try to re-enter the file in its original directory; it that h:fails the file will be entered in the [SYSLOST] directory.t;

12.3 How Undelete works

l

h*The UNDELETE command operates as follows :

    aI
  1. Lock the volume. In the same manner as ANALYZE/DISK/REPAIR and SET wI VOLUME /REBUILD Undelete locks the disk for other writers such that no o@ modifications to the INDEXF, BITMAP or QUOTA file can be made.I
  2. Search the INDEXF.SYS file if the requested file is still there. A < check is made if it really is a valid deleted file header.C
  3. Checks if the deleted file header and all possible extension M headers are still valid.H
  4. Checks if the blocks previously owned by this file are still free.I
  5. If all these conditions are met DFU will display the file and asks n for a confirmation. I
  6. Rebuilds all of the deleted file headers and bitmaps in memory. If H no errors are found all the file headers and bitmaps are written back E to disk. The files original backlink is saved in a table in memory.iI
  7. If appropiate the blocks and headers are charged against diskquota.mE
  8. When all of INDEXF.SYS has been scanned the volume is unlocked.iJ
  9. The file(s) is (are) entered in the original directory if possible, A using the table build up in memory. If the enter command fails tE (probably because the original directory is gone) the file will be hA entered in [SYSLOST]. DFU will create this directory if needed.r
f

mCIf the /LIST qualifier is used, DFU will just list the recoverable tFfiles without performing any action on the disk. The disk will not be locked.F

a?It is important to note that during the bitmap and file header Fprocessing any error will immediately terminate the recovery process, Fand unlock the disk. Files which have been recovered up to that point ?will still be entered in the appropiate directory. As no wrong yDinformation has been written back to the disk this should leave the disk in a proper state. 

DNOTE: The blocks recovered will NOT be subtracted from the Volume's :free block count. To get the actual freeblock count a SET FVOLUME/REBUILD=FORCE is necessary. Also a complete reMOUNT will reset the freeblock count.

eFIMPORTANT: DFU takes care to recover only files whose original blocks Fare free. However these blocks may have been modified in the meantime Fby another file which also has been deleted. Therefore each recovered 5file must be checked manually to check its integrity.i

Example of a Undelete session :i

 DFU> undel $1$dua102:/list   .Recoverable file [TEST]CHANGE_UIC.FOR;2 found ,Recoverable file [TEST]CHECK_ID.FOR;1 found -Recoverable file [TEST]CHKPRDIMG.FOR;1 found h*Recoverable file [TEST]CHRLEN.FOR;1 found  $DFU> undel/file=*.for $1$DUA102:  o'%DFU-I-READBMAP, Reading BITMAP.SYS...  +%DFU-W-LOCKED, Volume now LOCKED for write s)%DFU-I-UNDEL, Start search on $1$DUA102: h .Recoverable file [TEST]CHANGE_UIC.FOR;2 found !Recover this file? (Y/N) [N] : n i,Recoverable file [TEST]CHECK_ID.FOR;1 found !Recover this file? (Y/N) [N] : y +%DFU-S-RECOVER, File succesfully recovered F'%DFU-I-ADDQUOTA, updating diskquota... e n-Recoverable file [TEST]CHKPRDIMG.FOR;1 found e!Recover this file? (Y/N) [N] : n d*Recoverable file [TEST]CHRLEN.FOR;1 found !Recover this file? (Y/N) [N] : y o t+%DFU-S-RECOVER, File succesfully recovered e'%DFU-I-ADDQUOTA, updating diskquota...  %DFU-I-UNLOCK, Volume unlocked  /%DFU-I-ENTER, Entering file(s) in directory... s@%DFU-S-ENTERED, File CHECK_ID.FOR entered in original directory >%DFU-S-ENTERED, File CHRLEN.FOR entered in original directory  f
DFU> EXIT p f


g=@

12.4 Files marked for delete

CNormally DFU does not undelete files marked for delete. To recover CFfiles marked for delete you must use the /MARKED qualifier. This will Hspecifically undelete files marked for delete. This allows the recovery Gof files which are deleted but still open, such as INSTALLed files, or Geven recovery of the system dump file SYSDUMP.DMP whenever such a file nis accidentially deleted.mh
)

UNDELETE

d

i

.Recover one or more deleted files on a device.
e


Format

h


UNDELETE device[:]

A


PARAMETERS



device

wFThe device on which to undelete one or more files. The device will be )write-locked during the undelete process.
T


QUALIFIERS

s


/FILE=filename

tGThe file to be recovered. Wildcards may be used. If a matching file is Hfound Undelete will ask a confirmation. If a certain file is confirmed, Fthat file will be recovered if possible, and control will be returned Bto the DFU> prompt. If the /FILE qualifier is omitted DFU will assume *.*;* .!

/IDENT=identifier or uic

THYou can search for files owned by a specific identifier or UIC. Another Fway is the /OWNER_UIC qualifier; you cannot combine these 2 qualifier in one UNDELETE command.!

/LIST(=output-file-name)

>GGenerate a list of recoverable files. No undelete will take place, and =the disk will not be locked. The defaultoutput is SYS$OUTPUT. 

/MARKED

EConsider only files marked-for-delete. Such files are usuallly still 6Fopen by some utility, such as INSTALLed files or the system dump file.%

/OWNER_UIC=uic or identifier

DThis qualifier is used to select files by a UIC or identifier . You *cannot combine this qualifier with /IDENT.

/STATISTICS

FThis qualifier displays the performance statistics: CPU time, Elapsed Time, I/O and PageFaults.i


hy


l5

Chapter 13
SPAWN

a

tGThe new SPAWN command creates an interactive subprocess. This allows a Cquick escape to the DCL level from an interactive DFU session. The Esubprocess has a default prompt DFU_sub$. In SMG mode the <DO> sHkey also performs a SPAWN command. You must logout explicitly to return to the DFU session.hO

R


s6

Chapter 14
VERIFY



mFThis chapter describes the VERIFY command with the related parameters and qualifiers.> 5

14.1 Introduction



iHThe VERIFY command makes an analysis of the disk, scanning for file and @disk structure errors. VERIFY performs almost all of the checks Enormally done by a ANALYZE/DISK command. But VERIFY is several times 22faster than ANALYZE/DISK, and uses less resources.

l/VERIFY checks and reports the following errors:u

o

le=

14.2 Basic repair actions

EThe /FIX qualifier can be used to perform some basic repair actions. pEUnlike ANALYZE/DISK/REPAIR this does not lock the disk! /FIX repairs Athe following errors:o

we@

14.3 Advanced repair actions

HThe /REBUILD qualifier can be used to perform some more repair actions. FThis will however lock the disk (like a DCL $SET VOLUME/REBUILD=FORCE Dcommand) for a short period of time (usually less than 30 seconds). '/REBUILD repairs the following errors :BN

u?Note that /REBUILD does NOT change the disk's free block count.e

e;

14.4 Directory scanning

NGThe /DIRECTORY_SCAN qualifier will force DFU to also verify and repair dD(when using /FIX) directory problems. This qualifier directs DFU to <scan all directories on the disk. This has some advantages :n

rGPlease note that a complete directory scan may take several minutes to complete.c<

14.5 Interpreting errors



s?On a system (cluster) wide mounted disk there will probably be Econcurrent disk activity during the VERIFY command. Therefore VERIFY NGmay report some errors which are not really errors. Try running VERIFY tF2 or 3 times to see if the errors are reported again. To get a really Dconsistent report from VERIFY you can use the /LOCK qualifier. This Bwill write-lock the disk during the VERIFY run, so don't use this Aqualifier too often. (The /REPAIR qualifier of ANALYZE/DISK also lBwrite-locks the disk). Even if DFU ends ungracefully the DFU exit $handler will always UNLOCK the disk.O8

14.6 Error reporting



a+An example of a typical VERIFY run follows:o

wDFU> VERIFY mydisk !%DFU-I-VERIFY, Verifying MYDISK: c,%DFU-S-CHKHOME, Home block info verified OK '%DFU-I-IFSCAN, Scanning INDEXF.SYS ... v)%DFU-I-CHKBITMAP, Checking BITMAP.SYS... k+%DFU-I-CHKLOST, Checking for lost files... f'%DFU-I-CHKQUOTA, Checking QUOTA.SYS...    %DFU> VERIFY/REBUILD sys$sysdevice h'%DFU-W-LOCKED, Volume now write locked p(%DFU=I-VERIFY, Verifying SYS$SYSDEVICE: ,%DFU-S-CHKHOME, Home block info verified OK L%DFU-W-DELETED, file (620,351,1) RSF_DI_RSF_SERVER0.TMP;3 marked for delete F%DFU-W-DELETED, file (6349,173,1) DCLTABLES.EXE;937 marked for delete M%DFU-W-DELETED, file (19745,35,1) RSF_DI_RSF_SERVER0.TMP;3 marked for delete s)%DFU-I-CHKBITMAP, Checking BITMAP.SYS...  Q%DFU-E-ALLOCCLR, blocks LBN 2667141 through 2667143 incorrectly marked allocated nQ%DFU-E-ALLOCCLR, blocks LBN 2667153 through 2667161 incorrectly marked allocated t  .   . 1%DFU-S-RBDBITMAP, BITMAP.SYS succesfully rebuild  +%DFU-I-CHKLOST, Checking for lost files... %DFU-I-UNLOCK, Volume unlocked p eDFU> 


.'VERIFY can report the following errors:T

.ALLOCCLR, blocks incorrectly marked allocated,

Severity: ERROR
HExplanation: Blocks were found which are not allocated Dby a file but set in the BITMAP file. This error is often seen when GVERIFY is run and there is concurrent file activity on the disk. Also, hHif after a system crash the disk is mounted with /NOREBUILD such blocks Fmay exist. ReRun VERIFY with /LOCK to see if the error is still there.
GUser Action: Run VERIFY/REBUILD to rebuild the BITMAP ofile.i
)ALLOCSET, blocks incorrectly marked free,f
r
Severity: ERROR
GExplanation: Blocks were found which are allocated by Ea file but not set in the BITMAP file. This error is often seen when GVERIFY is run and there is concurrent file activity on the disk. Also, rHif after a system crash the disk is mounted with /NOREBUILD such blocks Fmay exist. ReRun VERIFY with /LOCK to see if the error is still there.
GUser Action: Run VERIFY/REBUILD to rebuild the BITMAP file.
(BADBLOCK, file has suspected bad blocks,
f
Severity: ERROR
GExplanation: A file has suspected bad blocks. This is 3likely to be caused by hardware errors on the disk.f
HUser Action: Try to copy the file to another location. Also check the Error Log.d
+BADEXTLNK, link to extension header broken,h

Severity: ERROR
HExplanation: VERIFY tries to follow the extension link >of the file and it failed, or the extension header is invalid.
EUser Action: Try ANALYZE/DISK/REPAIR. However, this eGmay be an unrepairable error, in which case the file will be corrupted dand unreliable.C
9BADMFDLNK, directory has backlink to 000000.DIR on RVN n,
y
Severity: ERROR
EExplanation: A directory has a backlink to a Master FGfile directory other than the one on RVN 1. This is incorrect, but the Bonly way to recover is to reenter the directory manually into the 000000.DIR on RVN 1.
FUser Action: Do a SET FILE/ENTER into the 000000.DIR Hdirectory on RVN 1, then do a SET FILE/REMOVE from the wrong 000000.DIR.
DELETED, file marked for delete,

"Severity: WARNING
DExplanation: A file was found marked for deletion. ESuch files usually exists as a result of file being deleted while it yAwas still INSTALLed, or as a result of a system crash. It is not tBconsidered as an error. You can try to delete such files by using VERIFY/FIX.e
ERRHOME, Home block info not OK,
o
Severity: ERROR
GExplanation: The Info contained in the Home Block was dnot consistent or corrupted.
HUser Action: Run ANALYZE/DISK/REPAIR to try to fix the error.
%INVBAKFID, file has invalid backlink,s
L
Severity: ERROR
GExplanation: The files backlink file id is not filled rEin. This is likely to be a lost file. (Note that once VERIFY reports rFthis error, it will not be reported again during the LOSTFILE check). EBut is also possible that the file is in a valid directory, but that l&the Backlink file id is not filled in.
FUser Action: Run ANALYZE/DISK/REPAIR. If the file is Gin a valid directory the backlink will be repaired. Otherwise the file rFwill be moved to the [SYSLOST] directory. You can also use VERIFY/FIX =but then the file will unconditionally be moved to [SYSLOST].
LOCKED, file is deaccess locked,
t
"Severity: WARNING
GExplanation: The file is deaccess locked. This may be ia result of a system crash.l
FUser Action: Try to unlock the file with the DFU SET #command, or the DCL UNLOCK command.n
.LOSTHDR1, file found in nonexistent directory,
a
"Severity: WARNING
DExplanation: During the lost file check a file was Cdiscovered in a nonexistent directory. This error can be caused as i<follows : set a directory file to NODIRECTORY and delete it.
EUser Action: Run VERIFY/FIX to move the file to the A[SYSLOST] directory.
4LOSTHDR2, file found in directory with bad backlink,
e
"Severity: WARNING
DExplanation: During the lost file check a file was Gdiscovered in a valid directory. However, the directory has an invalid tCbacklink. This error can be caused by doing a SET FILE/REMOVE of a Edirectory file. 
FUser Action: Run VERIFY/FIX to move the directory to Ethe [SYSLOST] directory. Then move the directory back to the correct r?location. The files in the directory should be accesible again.
*LOSTHDR3, file found in invalid directory,
s
"Severity: WARNING
DExplanation: During the lost file check a file was Ediscovered in a directory which is not a valid directory. Either the rHfile has a wrong backlink, or the directory file has the directory file attribute not set.
GUser Action: Look up the directory and use DFU SET to Hset the directory bit. If the directory file was OK then run VERIFY/FIX to recover the lost file.e
#LOSTHDR4, not found in a directory,a
d
"Severity: WARNING
DExplanation: When the /DIRECTORY_SCAN qualifier is Fused, DFU detects files which have a valid backlink but which are not 6seen in the directory. This can be repaired with /FIX.
GUser Action: Using /FIX will enter these files in the Lcorrect directory.
%MULTALLOC, blocks multiple allocated,/
i
Severity: ERROR
HExplanation: A file has blocks allocated which already Abelong to another file. Note that VERIFY will make a second pass lGthrough INDEXF.SYS to report all the files involved. This is a serious pDerror, and may be a result of a disk being mounted on two seperated *VAXClusters (or a partitioned VAXCluster).
BUser Action: Copy all the files found to another Dlocation. Next all the files must be deleted. Run VERIFY/REBUILD to Frepair the BITMAP. All the afflicted files must be manually inspected 5to see which files are valid and which are corrupted.U
*NOBITCLR, Deleted file header marked BUSY,
r
"Severity: WARNING
HExplanation: A file was deleted. The corresponding bit Gin the INDEXF bitmap should be cleared but is still set. This is not a sserious error.
BUser Action: Run VERIFY/REBUILD to fix the error.
(NOBITSET, index file bitmap bit not set,
e
"Severity: WARNING
>Explanation: A valid file was found, but the Dcorresponding index file bitmap bit is clear. This is not a serious error.
BUser Action: Run VERIFY/REBUILD to fix the error.
NOOWNER, file has no owner,E
O
"Severity: WARNING
EExplanation: A file was found with UIC [0,0] as the &owner. This is not a normal situation.
CUser Action: Look up the file and modify the file Sowner.
@QUOTAERR, UIC [x,y] has n blocks used, QUOTA indicates m blocks,
[
"Severity: WARNING
FExplanation: If a disk has diskquota enabled, VERIFY Ccalculates the blocks used and compares them with the value in the dHQUOTA.SYS file. Any mismatch is reported. This error is often seen when HVERIFY is run, and there is concurrent file activity on the disk. Also, Gif after a system crash the disk is mounted with /NOREBUILD such Quota EEmismatches may exist. ReRun VERIFY with /LOCK to see if the error is still there.
FUser Action: Run VERIFY/REBUILD to rebuild the QUOTA -file. Or run a DISKQUOTA> REBUILD command.e
%SLFBAKFID, backlink points to itself,o
/
"Severity: WARNING
HExplanation: This error indicates that DFU has found a Cdirectory with a backlink pointing to itself. This feature is only fGallowed for the MFD 000000.DIR. This error will result in ANALYZE/DISK ygoing into a COMputable loop.<
FUser Action: Run VERIFY/FIX to move the directory to Ethe [SYSLOST] directory. Then remove the directory entry from itself >Ewith a SET FILE/REMOVE command. The files in the directory should be qaccesible again.o
'

VERIFY

o

t

*VERIFY a device for disk structure errors.
e


Format

T


VERIFY device[:]

i


PARAMETERS

r


device

.The device to be verified.
l


QUALIFIERS

r


/APPEND=filename

bAThis qualifier redirects the output to be appended to an already gFexisting file. If the output file does not exists it will be created. ,You can use /APPEND or /OUTPUT but not both.

/DIRECTORY_SCAN

CPerforms a full directory scan. This may take up some time, but it ;Fallows detection of mismatches between the directories and INDEXF.SYS.

/FIX

e

/NOFIX (default)

sFRepair errors on the disk. File marked for delete will be deleted and 6lost files and directories will be moved to [SYSLOST].

/LOCK



/NOLOCK (default)

ELocks the disk for file allocation/deletion. This gives a consistent Areport for the disk, but other users may experience a delay when nHaccessing the disk. The device will be unlocked a the end of the VERIFY command.

/OUTPUT=filename

eGThis qualifier redirects the output to a file. The output will also go aHto SYS$OUTPUT. CAUTION: if you use /LOCK in combination with /OUTPUT be Ecareful to specify an outputfile on ANOTHER disk, or DFU will finish "with a severe error.

/REBUILD

t

/NOREBUILD (default)

EPerform a volume rebuild. Using this qualifier will temporarily lock ethe disk for other users.e

/STATISTICS

FThis qualifier displays the performance statistics: CPU time, Elapsed Time, I/O and PageFaults.Y
eD

s


1Previousm% | Next<. | Contentsne