* Infinite Inode Loop
@ 2000-03-09 13:46 hans van der heide
0 siblings, 0 replies; 2+ messages in thread
From: hans van der heide @ 2000-03-09 13:46 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] 2+ messages in thread* Infinite Inode Loop
@ 2000-03-09 12:02 hans van der heide
0 siblings, 0 replies; 2+ messages in thread
From: hans van der heide @ 2000-03-09 12:02 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
I have the following trivial problem:
On one of our systems (Tru64 4.0D, advfs) I find a directory with an
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
cannot run verify which might eventually solve the problem itself.
How can I remove / patch the directory in a running system?
Hans van der Heide (hans.vanderheide@bdl.ch)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-03-09 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-09 13:46 Infinite Inode Loop hans van der heide
-- strict thread matches above, loose matches on Subject: below --
2000-03-09 12:02 hans van der heide
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox