- Cause
A directory filename has been found whose size file-size is less than the minimum directory size. The owner UID, mode file-mode, size file-size, modify time modification-time, and directory name filename are displayed.
- Action
To increase the size of the directory to the minimum directory size, type y at the FIX prompt. To ignore this directory, type n.
DIRECTORY filename: LENGTH file-size NOT MULTIPLE OF block-number (ADJUST) |
- Cause
A directory filename has been found with size file-size that is not a multiple of the directory block size block-number.
- Action
To round up the length to the appropriate block size, type y. When preening the file system (-o p option), fsck only displays a warning and adjusts the directory. To ignore this condition, type n.
DIRECTORY CORRUPTED I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename (SALVAGE) |
- Cause
A directory with an inconsistent internal state has been found.
- Action
To throw away all entries up to the next directory boundary (usually a 512-byte boundary), type y at the SALVAGE prompt. This drastic action can throw away up to 42 entries. Take this action only after other recovery efforts have failed. To skip to the next directory boundary and resume reading, but not modify the directory, type n.
DUP/BAD I=inode-number OWNER=O MODE=M SIZE=file-size MTIME=modification-time TYPE=filename (REMOVE) |
- Cause
Phase 1 or phase 1B found duplicate blocks or bad blocks associated with directory or file entry filename, inode inode-number. The owner UID, mode file-mode, size file-size, modification time modification-time, and directory or file name filename are displayed. If the -p (preen) option is specified, the duplicate/bad blocks are removed.
- Action
To remove the directory or file entry filename, type y at the REMOVE prompt. To ignore this error condition, type n.
DUPS/BAD IN ROOT INODE (REALLOCATE) |
- Cause
Phase 1 or phase 1B has found duplicate blocks or bad blocks in the root inode (usually inode number 2) of the file system.
- Action
To clear the existing contents of the root inode and reallocate it, type y at the REALLOCATE prompt. The files and directories usually found in the root inode will be recovered in phase 3 and put into the lost+found directory. If the attempt to allocate the root fails, fsck will exit with: CANNOT ALLOCATE ROOT INODE. Type n to get the CONTINUE prompt. Type: y to respond to the CONTINUE prompt, and ignore the DUPS/BAD error condition in the root inode and continue running the file system check. If the root inode is not correct, this might generate many other error messages. Type n to terminate the program.
EXTRA '.' ENTRY I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename (FIX) |
- Cause
A directory inode-number has been found that has more than one entry for ".".
- Action
To remove the extra entry for "." type y at the FIX prompt. To leave the directory unchanged, type n.
EXTRA '..' ENTRY I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename(FIX) |
- Cause
A directory inode-number has been found that has more than one entry for ".." (the parent directory).
- Action
To remove the extra entry for `..' (the parent directory), type y at the FIX prompt. To leave the directory unchanged, type n.
hard-link-number IS AN EXTRANEOUS HARD LINK TO A DIRECTORY filename (REMOVE) |
- Cause
fsck has found an extraneous hard link hard-link-number to a directory filename. When preening (-o p option), fsck ignores the extraneous hard links.
- Action
To delete the extraneous entry hard-link-number type y at the REMOVE prompt. To ignore the error condition, type n.
inode-number OUT OF RANGE I=inode-number NAME=filename (REMOVE) |
- Cause
A directory entry filename has an inode number inode-number that is greater than the end of the inode list. If the -p (preen) option is specified, the inode will be removed automatically.
- Action
To delete the directory entry filename type y at the REMOVE prompt. To ignore the error condition, type n.
MISSING '.' I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename (FIX) |
- Cause
A directory inode-number has been found whose first entry (the entry for ".") is unallocated.
- Action
To build an entry for "." with inode number equal to inode-number, type y at the FIX prompt. To leave the directory unchanged, type n.
MISSING '.' I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS filename |
- Cause
A directory inode-number has been found whose first entry is filename. fsck cannot resolve this problem.
- Action
If this error message is displayed, contact your local service provider or another qualified person.
MISSING '.' I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename CANNOT FIX, INSUFFICIENT SPACE TO ADD '.' |
- Cause
A directory inode-number has been found whose first entry is not ".". fsck cannot resolve the problem.
- Action
If this error message is displayed, contact your local service provider or another qualified person.
MISSING '..' I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename (FIX) |
- Cause
A directory inode-number has been found whose second entry is unallocated.
- Action
To build an entry for ".." with inode number equal to the parent of inode-number, type y at the FIX prompt. (Note that "..'' in the root inode points to itself.) To leave the directory unchanged, type n.
MISSING '..' I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename CANNOT FIX, SECOND ENTRY IN DIRECTORY CONTAINS filename |
- Cause
A directory inode-number has been found whose second entry is filename. fsck cannot resolve this problem.
- Action
If this error message is displayed, contact your local service provider or another qualified person.
MISSING '..' I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename CANNOT FIX, INSUFFICIENT SPACE TO ADD '..' |
- Cause
A directory inode-number has been found whose second entry is not ".." (the parent directory). fsck cannot resolve this problem.
- Action
If this error message is displayed, contact your local service provider or another qualified person.
NAME TOO LONG filename |
- Cause
An excessively long path name has been found, which usually indicates loops in the file system name space. This error can occur if a privileged user has made circular links to directories.
- Action
Remove the circular links.
ROOT INODE UNALLOCATED (ALLOCATE) |
- Cause
The root inode (usually inode number 2) has no allocate-mode bits.
- Action
To allocate inode 2 as the root inode, type y at the ALLOCATE prompt. The files and directories usually found in the root inode will be recovered in phase 3 and put into the lost+found directory. If the attempt to allocate the root inode fails, fsck displays this message and exits: CANNOT ALLOCATE ROOT INODE. To terminate the program, type n.
ROOT INODE NOT DIRECTORY (REALLOCATE) |
- Cause
The root inode (usually inode number 2) of the file system is not a directory inode.
- Action
To clear the existing contents of the root inode and reallocate it, type y at the REALLOCATE prompt. The files and directories usually found in the root inode will be recovered in phase 3 and put into the lost+found directory. If the attempt to allocate the root inode fails, fsck displays this message and exits: CANNOT ALLOCATE ROOT INODE. To have fsck prompt with FIX, type n.
UNALLOCATED I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time type=filename(REMOVE) |
- Cause
A directory or file entry filename points to an unallocated inode inode-number. The owner UID, mode file-mode, size file-size, modify time modification-time, and file name filename are displayed.
- Action
To delete the directory entry filename, type y at the REMOVE prompt. To ignore the error condition, type n.
ZERO LENGTH DIRECTORY I=inode-number OWNER=UID MODE=file-mode SIZE=file-size MTIME=modification-time DIR=filename (REMOVE) |
- Cause
A directory entry filename has a size file-size that is zero. The owner UID, mode file-mode, size file-size, modify time modification-time, and directory name filename are displayed.
- Action
To remove the directory entry filename, type y at the REMOVE prompt. This results in the BAD/DUP error message in phase 4. To ignore the error condition, type n.
Phase 3: Check Connectivity Messages
This phase checks the directories examined in phase 2 and reports error conditions resulting from:
Unreferenced directories
Missing or full lost+found directories
These messages (in alphabetical order) might occur in phase 3:
BAD INODE state-number TO DESCEND |