Open System Services Management and Operations Guide (G06.25+, H06.03+)
Open System Services Monitor
Open System Services Management and Operations Guide—527191-002
12-45
DIAGNOSE FILESET Command
•
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 5-2 on page 5-28.
•
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 on page 12-46.
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 on page 5-24 for more information about
the format of this file.
Figure 5-4 on page 5-25 shows an example of FSCK output.