Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#127457 - 21/11/2002 20:17 Weird circular directory structure error - help
jheathco
enthusiast

Registered: 21/12/2001
Posts: 326
Loc: Mission Viejo, California
empeg:/etc# rm -rf preinit.d
rm: WARNING: Circular directory structure.
This almost certainly means that you have a corrupted file system.
NOTIFY YOUR SYSTEM MANAGER.
The following two directories have the same inode number:

preinit.d/nouse
preinit.d/nouse/Mprograms

Any ideas how to fix this? No other noticed problems...
_________________________
John Heathco - 30gig MKIIa w/ tuner module

Top
#127458 - 21/11/2002 22:05 Re: Weird circular directory structure error - help [Re: jheathco]
jheathco
enthusiast

Registered: 21/12/2001
Posts: 326
Loc: Mission Viejo, California
No ideas?
_________________________
John Heathco - 30gig MKIIa w/ tuner module

Top
#127459 - 21/11/2002 22:05 Re: Weird circular directory structure error - help [Re: jheathco]
jheathco
enthusiast

Registered: 21/12/2001
Posts: 326
Loc: Mission Viejo, California
No ideas?
_________________________
John Heathco - 30gig MKIIa w/ tuner module

Top
#127460 - 21/11/2002 22:29 Re: Weird circular directory structure error - help [Re: jheathco]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Ouch.

Make sure your root filesystem is mounted read-only. (Run ``ro''.)

Then run ``e2fsck -fn /'' and see what it says. This will just generate a report about what fsck thinks is wrong. Post it here.

If you run ``e2fsck -fay /'', it'll ``fix'' it, but I don't know exactly what it'll do.

What can you tell us about those directories?
_________________________
Bitt Faulk

Top
#127461 - 21/11/2002 22:54 Re: Weird circular directory structure error - help [Re: wfaulk]
jheathco
enthusiast

Registered: 21/12/2001
Posts: 326
Loc: Mission Viejo, California
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Entry 'Mprograms' in . (2791) is a link to '.' Clear? no

Entry 'Mprograms' in . (2791) is a link to '.' Clear? no

Entry 'Mprograms' in . (2791) has an incorrect filetype (was 0t, should be 2)
Fix? no

Entry 'Mprograms' in . (2791) is a link to directory /etc/preinit.d/nouse (2791)
.
Clear? no

Pass 3: Checking directory connectivity
'..' in /etc/preinit.d/nouse (2791) is . (2791), should be /etc/preinit.d (2790)
.
Fix? no

Pass 4: Checking reference counts
Inode 2791 ref count is 3, should be 4. Fix? no

Pass 5: Checking group summary information
Block bitmap differences: -13827
Fix? no

/dev/hda5: 1521/4096 files (0.5% non-contiguous), 9679/16384 blocks

Haven't done anything to the directory structure that I know of that would cause something like this...
_________________________
John Heathco - 30gig MKIIa w/ tuner module

Top
#127462 - 21/11/2002 22:55 Re: Weird circular directory structure error - help [Re: jheathco]
jheathco
enthusiast

Registered: 21/12/2001
Posts: 326
Loc: Mission Viejo, California
Fix worked... thanks
_________________________
John Heathco - 30gig MKIIa w/ tuner module

Top