MPE/iX System Utilities Reference Manual
> Chapter 9 FSCHECKFSCHECK Operation |
||||||||||||||||
|
CHECKDIRC [CD]The CHECKDIRC command checks the directory on the specified volume set for internal consistency and makes sure that for each directory entry there exists an associated file label entry. This command assumes that all volumes of the identified volume set are mounted and available and that the system is fully operational. Syntax CHECKDIRC [DEV=] set_name ALL [;IGNORE] [;FIX] [;LOG=filename]Parameters
fscheck:CHECKDIRC ALL CHECKEXTENTS [CE]The CHECKEXTENTS command checks the extent map for each file label in the label table for duplicate extent descriptors. Duplicate extent descriptors are those with overlapping file sector offset. Syntax ldev CHECKEXTENTS [DEV=] set_name ALLParameters The DEV parameter is optional. If omitted, the default is to check the extent maps on each mounted volume of the system volume set.
fscheck: CHECKEXTENTS ALL CHECKLABEL [CL]The CHECKLABEL command checks the label table(s) on the specified volume(s) for internal consistency and verifies that each file label entry has an associated entry in the volume set's directory. It does not verify the integrity of HFS-syntax files whose file names are blanked out in the file label. If neither the CNAME or VNAME parameter is specified, the label table of each volume in the sytem volume set is checked by default (MPEXL_SYSTEM_VOLUME_SET). Syntax CHECKLABEL [DEV=][ldev] [set_name] [ALL] [;IGNORE] [;FIX] [;ASK] [;LOG=filename]Parameters
fscheck: CHECKLABEL ALL CHECKFILE [CF]The CHECKFILE command checks the label of the specified file for internal consistency. Syntax CHECKFILE [FILENAME=] filenameParameters
fscheck: CHECKFILE @.PUB.SYS fscheck: CHECKFILE /mydir/myfile1 CHECKALL [CA]The CHECKALL command performs the CHECKLABEL, CHECKDIRC, and CHECKEXTENTS commands consecutively. Syntax CHECKALL [DEV=] set_name ALLParameters The DEV parameter is optional. If omitted, the default is to check the directory, labels, and extent maps on each mounted volume of the system volume set.
fscheck: CHECKALL ALL DEBUGThe DEBUG command invokes the native mode system. Syntax DEBUGParameters
fscheck: DEBUG DISPLAYLABEL [DL]The DISPLAYLABEL command displays the fully qualified file name and offset within the label table for each file label entry of the label table on the specified logical device. Syntax DISPLAYLABEL [DEV=] ldev set_name ALLParameters
fscheck: DISPLAYLABEL DEV=1 DISPLAYEXTENTS [DE]This command displays the extent map for the specified file. For each extent of the file, it displays the number of sectors in the extent, the single vector disk sector address (in hex), the file sector offset (in hex), and the volume set index of the volume on which the extent resides. Currently the file name must be fully qualified, that is, with the group and the account names specified. Syntax DISPLAYEXTENTS [FILENAME=] filenameParameters
fscheck: DISPLAYEXTENTS NL.PUB.SYS fscheck: DISPLAYEXTENTS /sys/mydir1/myfile DISPLAYLOCKFILE [DLF]Displays the fully qualified file name of all of the locked files on the specified volume. Files whose extents contain bad sectors are being locked. Syntax ldev DISPLAYLOCKFILE [DEV=] set_name ALLParameters The DEV parameter is optional. If omitted, the default is to display the locked files on each mounted volume of the system volume set.
fscheck: DISPLAYLOCKFILE ALL DOThis command re-executes a command from the command line history stack. It is identical in function to the command DO. Syntax DO [CMD=] cmd_idParameters
fscheck: DO CMD=-2 EMPTYSLOUGH [ES]Removes all extents from the slough file without attempting to deallocate the secondary storage owned by its extents. This command is used for file corruption work-around when inconsistencies exist between the free space map and the label table such that there exist extent descriptors for which the corresponding secondary storage is not permanently allocated. Syntax ldev EMPTYSLOUGH [DEV=]set_name ALLParameters The DEV parameter is optional. If omitted, the default is to empty the slough file on the system volume set.
fscheck: EMPTYSLOUGH 1 EXIT [E]This command terminates the FSCHECK utility and returns to the process from which it was invoked. Syntax EXITParameters
fscheck: EXIT EXTENTDISTRIB [ED]Displays the distribution of extents by extent size or file size on the specified volume(s). If you choose the EXTENT option, FSCHECK displays the total number of extents that falls in the extent size range. If you choose the FILE option, FSCHECK displays the total number of files, and the average number of extents per file that falls in the file size range. Syntax ldev EXTENTDISTRIB [DEV=] set_name ALL [;EXTENT] [;FILE ]Parameters The DEV parameter is optional. If omitted, the default is to display the extent distribution on each mounted volume of the system volume set.
fscheck: EXTENTDISTRIB ALL HELPThis command provides a list of the FSCHECK utility commands and a description of the function of each. Syntax HELPParameters
HELP LISTREDOThis command displays the contents of the command line history stack, from the least recently entered command to the most recently entered command. It is identical in function to the LISTREDO command. Syntax LISTREDOParameters
fscheck: LISTREDO LOGThis command logs the user or program dialog to the specified file, as it appears to the user. Syntax LOG [FILENAME=] filenameParameters
fscheck: LOG FILENAME=FSCHKLOG PURGEFILE [PF]This command purges the specified file. Syntax PURGEFILE [FILENAME=]filenameParameters
fscheck: PURGEFILE TEMP.PUB.SYS fscheck: PURGEFILE /sys/dir1/myfile REDOThis command edits and re-executes a command from the command line history stack. It is identical in function to the REDO command. Syntax REDO [CMD=] cmd_idParameters
fscheck: REDO CMD=5 SYNCACCOUNTING [SA]This command synchronizes the account and group disk space accounting with the disk space information found in the file labels of all files on a specified volume set. For system volume sets containing HFS directories, disk space accounting is done for the account and group structure only. After performing SYNCACCOUNTING, the information reported by the REPORT command will coincide with the information reported by the LISTF command. Syntax SYNCACCOUNTING [DEV=] [set_name] [;QUIET]Parameters The DEV parameter is optional. If omitted, the default is to synchronize the account and group directories of the system volume set.
fscheck: SYNCACCOUNTING MPEXL_SYSTEM_VOLUME_SET TOTALEXTENTS [TE]This command displays the total number of sectors occupied by directory space, special space, permanent file space, spool file space, and new and temp file space on the specified volume(s). Syntax ldev TOTALEXTENTS [DEV=]set_name ALLParameters The DEV parameter is optional. If omitted, the default is to display the extent totals on each mounted volume of the system volume set.
fscheck: TOTALEXTENTS ALL UNLOCKFILE [UF]MPE/iX locks files whose extents contain bad sectors. This command unlocks a locked file so that it can be purged or analyzed. Syntax UNLOCKFILE [FILENAME=] filenameParameters
fscheck: UNLOCKFILE AFILE.BGROUP.CACCT USEThis command reads and executes commands contained in the specified file. Syntax USE [FILENAME=] filenameParameters
fscheck: USE FILENAME=FSCHKUSE
|