Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!hpc@cattell.psych.upenn.edu From: hpc@cattell.psych.upenn.edu (Hua Pei Chen) Newsgroups: comp.unix.ultrix Subject: Help in removing corrupt directory ! Message-ID: <36066@netnews.upenn.edu> Date: 22 Jan 91 16:35:12 GMT Sender: news@netnews.upenn.edu Distribution: usa Organization: University of Pennsylvania Lines: 19 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@cattell.psych.upenn.edu (215) 898-2141 office