tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: hans van der heide <hans.vanderheide () bluewin ! ch>
To: tru64-unix-managers
Subject: Infinite Inode Loop
Date: Thu, 09 Mar 2000 13:46:06 +0000	[thread overview]
Message-ID: <96079341819430.tru64-unix-managers.marc@archive.invalid> (raw)

Hi,

> Hi,=20
> I have the following trivial problem:=20
>=20
> On one of our systems (Tru64 4.0D, advfs) I find a directory with an=20
> infinite loop of inodes in it, a subdirectory points to the directory =

> itself. While this system cannot be shutdown and the directory is in =
/usr
I=20
> cannot run verify which might eventually solve the problem itself.=20
> How can I remove / patch the directory in a running system?=20
>=20
> Hans van der Heide (hans.vanderheide@bdl.ch)

Maybe I did not make myself clear, the problem shows like this:
=20
cd /usr/inodes_with_infinite_loops
=20
ls -ali

 1544 drwxr-xr-x   9 root     system      8192 M=E4r  9 13:38 .
    2 drwxr-xr-x  27 root     system      8192 Jul 26  1999 ..
17977 drwxr-xr-x   2 root     adm         8192 Jul 26  1999 =
15-Jul-15:24
  994 drwxr-xr-x   2 root     system      8192 Jul 26  1999 cron
 1689 drwxr-xr-x   2 root     system      8192 Jul 26  1999 esnmp
 1687 drwxrwxrwx   2 root     system      8192 Jul 26  1999 samba
  637 drwxr-xr-x   2 root     system      8192 Jul 26  1999 sambavar
 1042 drwxr-xr-x   2 root     adm         8192 Jul 26  1999 =
syslog.dated
 1542 drwxrwxrwx   2 root     system      8192 Jul 26  1999 tmp1

ls -aliR tmp1

total 16
 1542 drwxrwxrwx   2 root     system      8192 Jul 26  1999 >
 1544 drwxr-xr-x   9 root     system      8192 M=E4r  9 13:38 >.
=20
tmp1/>:
total 16
 1542 drwxrwxrwx   2 root     system      8192 Jul 26  1999 >
 1544 drwxr-xr-x   9 root     system      8192 M=E4r  9 13:38 >.
=20
tmp1/>/>:
total 16
 1542 drwxrwxrwx   2 root     system      8192 Jul 26  1999 >
 1544 drwxr-xr-x   9 root     system      8192 M=E4r  9 13:38 >.
=20
tmp1/>/>/>:
total 16
 1542 drwxrwxrwx   2 root     system      8192 Jul 26  1999 >
 1544 drwxr-xr-x   9 root     system      8192 M=E4r  9 13:38 >.
=20
tmp1/>/>/>/>:
total 16
 1542 drwxrwxrwx   2 root     system      8192 Jul 26  1999 >
 1544 drwxr-xr-x   9 root     system      8192 M=E4r  9 13:38 >.
=20
and-so-on, and shows the following doing=20
=20
ls -ali tmp1

total 16
 1542 drwxrwxrwx   2 root     system      8192 Jul 26  1999 >
 1544 drwxr-xr-x   9 root     system      8192 M=E4r  9 13:38 >.

cd tmp1 ; ls -ali

. not found
=20
and find results in

find tmp1 -inum 1544

find:
tmp1/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>=
/>/>
/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>. Path name too long.
find: bad directory <..>

rmlink tmp1 does not change anything.
=20
Mark the ">" in the "." and ".." entries. These look very strange to =
me.

Hans van der Heide (hans.vanderheide@bdl.ch)=20

 =20

             reply	other threads:[~2000-03-09 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-09 13:46 hans van der heide [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-03-09 12:02 Infinite Inode Loop hans van der heide
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox