DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Solving filesystem problems

fsck_s5 Phase 4: Check Reference Counts

This phase checks the link count information obtained in Phases 2 and 3. It reports error conditions resulting from:

Types of error messages--fsck_s5 Phase 4

Phase 4 has five types of error messages:

fsck_s5 Phase 4 error messages


UNREF FILE I=I OWNER=O MODE=M SIZE=S MTIME=T

(RECONNECT?)
Inode I was not connected to a directory entry when the filesystem was traversed. The owner O, mode M, size S, and modify time T of inode I are printed. If the -n option is omitted and the filesystem is not mounted, empty files are cleared automatically.

Non-empty files are not cleared. If the -p option is specified the inode is reconnected.


SORRY. NO lost+found DIRECTORY
There is no lost+found directory in the root directory of the filesystem; fsck ignores the request to link a file to the lost+found directory. This generates the CLEAR error message later in Phase 4. The access modes of the lost+found directory might be incorrect.

SORRY. NO SPACE IN lost+found DIRECTORY
There is no space to add another entry to the lost+found directory in the root directory of the filesystem; fsck ignores the request to link a file to the lost+found directory. This generates the CLEAR error message later in Phase 4. Check the size and contents of the lost+found directory.

(CLEAR)
The inode mentioned in the UNREF error message immediately preceding cannot be reconnected.

LINK COUNT FILE I=I OWNER=O MODE=M SIZE=S MTIME=T COUNT=X

SHOULD BE Y (ADJUST?)
The link count for file inode I is X but should be Y. The owner O, mode M, size S, and modify time T are printed. If the -p option is specified the link count is adjusted.

LINK COUNT DIR I=I OWNER=O MODE=M SIZE=S MTIME=T COUNT=X

SHOULD BE Y (ADJUST?)
The link count for directory inode I is X but should be Y. The owner O, mode M, size S, and modify time T of inode I are printed. If the -p option is specified the link count is adjusted.

UNREF FILE I=I OWNER=O MODE=M SIZE=S MTIME=T (CLEAR?)
File inode I was not connected to a directory entry when the filesystem was traversed. The owner O, mode M, size S, and modify time T of inode I are printed. If the -n option is omitted and the filesystem is not mounted, empty files are cleared automatically. Non-empty directories are not cleared. If the -p option is specified the file is cleared if it cannot be reconnected.

UNREF DIR I=I OWNER=O MODE=M SIZE=S MTIME=T (CLEAR?)
Directory inode I was not connected to a directory entry when the filesystem was traversed. The owner O, mode M, size S, and modify time T of inode I are printed. If the n option is omitted and the filesystem is not mounted, empty directories are cleared automatically. Non-empty directories are not cleared. If the -p option is specified the directory is cleared if it can not be reconnected.

BAD/DUP FILE I=I OWNER=O MODE=M SIZE=S MTIME=T (CLEAR?)
Phase 1 or Phase 1B found duplicate blocks or bad blocks associated with file inode I. The owner O, mode M, size S, and modify time T of inode I are printed. If the -p option is specified the file is cleared.

BAD/DUP DIR I=I OWNER=O MODE=M SIZE=S MTIME=T (CLEAR?)
Phase 1 or Phase 1B found duplicate blocks or bad blocks associated with directory inode I. The owner O, mode M, size S, and modify time T of inode I are printed. If the -p option is specified the directory is cleared.

FREE INODE COUNT WRONG IN SUPERBLK (FIX?)
The actual count of the free inodes does not match the count in the superblock of the filesystem. If the -q or -p option is specified, the count in the superblock will be fixed automatically.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004