Summary: interesting inode problem

From: Jay Williamson - System Manager (jaysun@cs.clemson.edu)
Date: Mon Mar 11 1991 - 15:15:04 CST


I had 4 people reply and they all said the same thing:

unmunt the file system
use "clri"
use "fsck"
remount

No one told me to RTFM, although I should have. I was not aware of
clri before now. The manual does say that clri is superseded by
fsck for normal file system repair so my problem must be classified
as abnormal. I have not tried this yet as the file system is on our
main server but the above solution should work.

Thanks to the following sun-managers:

Kevin Thomas
John Blasik
Matt Crawford
smb@ulysses.att.com
Pete (shipley@remarque.berleley.edu)

I will include my original posting at the end since its so long.

Jay Williamson, Systems Manager Clemson University
jaysun@cs.clemson.edu Computer Science Dept.
(803) 656-5884 Clemson, S.C. 29634-1906

----- Begin Included Message -----

About 2 weeks ago I noticed that my finds from cron where returning a message
saying that it couldn't find a file. I went looking and found a directory
that had some files in it, a ".." and a "?" . There was no ".".
I unlinked that directory after saving the correct files and then put
everything back. I knew that that unlinked directory would be put in
lost+found but I didn't realize that fsck would not get rid of it.

fsck will ask if you want it unlinked, you answer yes, but it's still there.
I kindof see why since it seems recursive in some way.

Here is an "ls -lRi #183540" redirected into a file. It is not complete
because I interupted the redirection with a <ctrl c>. It seems to be
infinite. I have no idea how the original was created but I hope
someone can

(1) help me get rid of it.
(2) Tell me how something like this could be allowed to happen

Details:
Sun 4/280 running SunOS 4.1
serves as files server to all types of Sun3s and Sun4s running from
SunOS 4.0.3 to SunOS 4.1.1. Also, one 386i running SunOS 4.0.2.

----- Begin Included Message -----

total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540//////////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540///////////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540////////////////////////////////////////////////////////////:
total 1
183540 drwxrwxrwx 2 sbakre 512 Feb 27 08:59 /

#183540/////////////////////////////////////////

----- End Included Message -----



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:12 CDT