[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Circular directory references (was re: ext2 file too big...)



On Tue, Nov 27, 2001 at 02:44:41PM -0600, Chad C.Walstrom wrote:
| On Tue, Nov 27, 2001 at 03:26:31PM -0500, dman wrote:
| > ls -ld
| > 
| > to find out which is a symlink and which is a real directory, then
| > remove the symlinks (if you really don't want them).
| > 
| > It is not possible to have a hard link to a directory, so they must be
| > symlinks.
| 
| Actually, I should give you more background than this.  These are not
| symbolic links.  This is a screwed up ext2 filesystem.  There was either
| a runaway sendmail process or a runaway mailman process that dumped some
| nasties into /var.  I'm seeing corruption most likely from a sircam
| virus or some such thing.  I'll look back into the sendmail logs (if
| they're there) to see if I can track down the offending email.
| 
| Regardless of the cause, I have a corrupt file system with multiple
| circular directory references, i.e. inode level, that fsck.ext2 refuses
| to clean.

Since the problem is at the inode level, you will want to use
'debugfs' to edit the inodes.  Be careful though, since you can really
screw it up that way (backup what you can first).  

-D

-- 

A)bort, R)etry, B)ang it with a large hammer



Reply to: