Figure 5: Fixing an unallocated inode
# fsck
/dev/dsk/0s1
File System: Volume:
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
UNALLOCATED I=2785 OWNER=root MODE=0
SIZE=0 MTIME=Apr 30 14:55 1994
NAME=/usr/acct/karen/kristin.db (EMPTY) -- REMOVED
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List
10039 BLK(S) MISSING
BAD FREE LIST
SALVAGE? n
2866 files 67540 blocks 41402 free
***** BOOT THE OS DO NOT PERFORM A SYNC OPERATION *****
# fsck
/dev/dsk/0s1
File System: Volume:
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List
10039 BLK(S) MISSING
BAD FREE LIST
SALVAGE? y
** Phase 6 - Salvage Free List
2866 files 67540 blocks 61480 free
#
|