![]() |
MPE/iX System Utilities Reference
> Chapter 9 FSCHECKOperation |
||||||||||||||||
|
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 Return
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
ALL
Parameters
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 Return
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 Return
CHECKFILE [CF]The CHECKFILE command checks the label of the specified file for internal consistency. Syntax
CHECKFILE [FILENAME=] filename
Parameters
fscheck: CHECKFILE @.PUB.SYS Return
fscheck: CHECKFILE /mydir/myfile1 Return
CHECKALL [CA]The CHECKALL command performs the CHECKLABEL, CHECKDIRC, and CHECKEXTENTS commands consecutively. Syntax
CHECKALL [DEV=] set_name
ALL
Parameters
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 Return
DEBUGThe DEBUG command invokes the native mode system. Syntax
DEBUG
Parameters
NoneExample
fscheck: DEBUG Return
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
ALL
Parameters
fscheck: DISPLAYLABEL DEV=1 Return
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=] filename
Parameters
fscheck: DISPLAYEXTENTS NL.PUB.SYS Return
fscheck: DISPLAYEXTENTS /sys/mydir1/myfile Return
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
ALL
Parameters
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 Return
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_id
Parameters
fscheck: DO CMD=-2 Return
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
ALL
Parameters
The DEV parameter is optional. If omitted, the default is to empty the slough
file on the system volume set.
fscheck: EMPTYSLOUGH 1 Return
EXIT [E]This command terminates the FSCHECK utility and returns to the process from which it was invoked. Syntax
EXIT
Parameters
NoneExample
fscheck: EXIT Return
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 Return
HELPThis command provides a list of the FSCHECK utility commands and a description of the function of each. Syntax
HELP
Parameters
NoneExample
HELP Return
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
LISTREDO
Parameters
NoneExample
fscheck: LISTREDO Return
LOGThis command logs the user or program dialog to the specified file, as it appears to the user. Syntax
LOG [FILENAME=] filename
Parameters
fscheck: LOG FILENAME=FSCHKLOG Return
PURGEFILE [PF]This command purges the specified file. Syntax
PURGEFILE [FILENAME=]filename
Parameters
fscheck: PURGEFILE TEMP.PUB.SYS Return
fscheck: PURGEFILE /sys/dir1/myfile Return
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_id
Parameters
fscheck: REDO CMD=5 Return
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 Return
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
ALL
Parameters
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 Return
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=] filename
Parameters
fscheck: UNLOCKFILE AFILE.BGROUP.CACCT Return
USEThis command reads and executes commands contained in the specified file. Syntax
USE [FILENAME=] filename
Parameters
fscheck: USE FILENAME=FSCHKUSE Return
|