Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)
can be remounted with the SCF START FILESET command unless serious inconsistencies remain
unrepaired.
• You can use the SCF STATUS FILESET command to determine whether the integrity check is
complete.
• If FSCK fails, the fileset is placed in the UNKNOWN state.
• The FSCK utility checks for the inconsistencies listed in Table 11 (page 162).
• The DIAGNOSE FILESET command can be used only by super-group users (255,nnn).
Examples
• To check the integrity of the fileset USER1, not repair any inconsistencies, and send
informational messages to the file CMDLOG, first use the SCF STOP FILESET command to stop
(unmount) the fileset and then enter the following command:
DIAGNOSE /OUT CMDLOG/ FILESET USER1
• To check the integrity of the fileset USER1, repair all inconsistencies, produce a detailed report,
and send informational messages to the file CMDLOG, first use the SCF STOP FILESET command
to stop (unmount) the fileset and then enter the following command:
DIAGNOSE /OUT CMDLOG/ FILESET $ZPMON.USER1,DETAIL,REPAIR ALL
• To stop the integrity check in progress on the fileset USER1 and send informational messages
to the file CMDLOG, enter the following command:
DIAGNOSE /OUT CMDLOG/ FILESET $ZPMON.USER1, OPTION STOP
FSCK Log File
The FSCK utility writes its output to a log file with a Guardian filename that you can specify with
the REPORT parameter of either the DIAGNOSE FILESET command or the ALTER SUBSYS command.
If you do not specify a name for the log file, the log file is put on the same volume and subvolume
as the OSS Monitor program file, OSSMON, which is usually the SYSnn subvolume.
The Guardian file identifier of the default log file consists of the characters ZX0 followed by the
rightmost portion of the device label of the fileset. The device label of a fileset is a field of the SCF
INFO FILESET display; for information about this command, see “INFO FILESET Command”
(page 296).
For example, for the root fileset, which has the device label 0, the file identifier of the default log
file is ZX000000.
The log file is a text file. See “FSCK Log File” (page 160)for more information about the format of
this file.
Example 10 (page 161) shows an example of FSCK output.
INFO FILESET Command
The INFO FILESET command displays information about the attributes of an OSS fileset. The
information displayed is from the ZOSSFSET and ZOSSSERV files.
The syntax of the INFO FILESET command is:
INFO [ /OUT filename/ ] FILESET [$ZPMON.]filesetname
[ , DETAIL ]
[ , SEL [ NOT ] state ]
OUT filename
specifies the name of a Guardian output file for informational messages. You can either read
this file with a text editor or display it with the FUP COPY command.
296 Open System Services Monitor