Fsck Error Conditions; Conventions - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

Fixing Corrupted File Systems
Fsck - UNIX File System Checker
Appendix A. Fsck Error Conditions
A.I. Conventions
F,ck is a multi-pass file system check program. Each file system pass invokes a different Phase
of the I,ck program. After the initial setup,l,ek performs successive Phases over each file sys-
tem, checking blocks and sizes, path-names, connectivity, reference counts, and the map of free
blocks, (possibly rebuilding it), and performs some cleanup.
Normally I,ck is run non-interactively to preen the file systems after an unclean halt. While
preening a file system, it will only fix corruptions that are expected to occur from an unclean
halt. These actions are a proper subset of the actions that I,ei will take when it is running
interactively. Throughout this appendix many errors have several options that the operator can
take. When an inconsistency is detected, I,ck reports the error condition to the operator. If a
response is required, I,ck prints a prompt message and waits for a response. When preen'ing
most errors are fatal. For those that are expected, the response taken is noted. This appendix
explains the meaning of each error condition, the possible responses, and the related error condi-
tions.
The error conditions are organized by the P/uJle of the I,ek program in which they can occur.
The error conditions that may occur in more than one Phase will be discussed in initialization.
A.2. Initialization
Before a file system check can be performed, certain tables have to be set up and certain files
opened. This section concerns itself with the opening of files and the initialization of tables.
This section lists error conditions resulting from command line options, memory requests, open-
ing of files, status of files, file system size checks, and creation of the scratch file. All of the ini-
tialization errors are fatal w hen the file system is being preen 'ed.
C
option!
C
is not a legal option to I,ck; legal options are -b, -y, -n, and
-po
F,ek terminates on this
error condition. See the j,ck(8) manual entry for further detail.
cannot alloc NNN bytes for block map
cannot alloc NNN bytes for freemap
cannot alloc NNN bytes for statemap
cannot alloc NNN bytes for lncntp
F ,ck 's request for memory for its virtual memory tables failed. This should never happen.
F ,ck terminates on this error condition. See a guru.
Can't open checklist file: F
The file system checklist file F (usually Idellll(J,b) can not be opened for reading. F.ek ter-
minates on this error condition. Check access modes of F.
Can't stat root
F,ck's request for statistics about the root directory
"I"
failed. This should never happen.
F,ck terminates on this error condition. See a guru.
8
28 July 1083

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents