Help in removing corrupt directory !

Hua Pei Chen hpc at cattell.psych.upenn.edu
Wed Jan 23 03:35:12 AEST 1991


	I would like to have some advice on how to remove a corrupt
directory in a file system.  The problem first started as an FER error
for an LBN xxx.  I cleared the forced error indicator for that block, and
now found out that it was a corrupted directory.  The directory itself
seems to be fine, but it contains a file with a very long name
("m[[bbmm...").  The i-number for this file is a negative number, so the
file is totally transparent.  Both rm -r and rmdir failed.  I have also 
tried "clri" and "fsck" the filesystem, "clri" does not recognize the
negative inode, and "fsck" can not salvage the corrupt directory.  Besides
scratching the whole file system and restore it, is there another way to
physically remove this corrupted directory(file)?  I appreciate any kind of
response.  


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-
Hua-Pei Chen, 				System Administrator, 
Psychology Department,			University of Pennsylvania.
email -- hpc at cattell.psych.upenn.edu	(215) 898-2141 office



More information about the Comp.unix.ultrix mailing list