tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "C.Ruhnke" <i769646 () smrs013a ! mdc ! com>
To: tru64-unix-managers
Subject: [SUMMARY] "Bad file number" and "File not found" problems
Date: Fri, 23 Jul 1999 13:23:01 +0000	[thread overview]
Message-ID: <96079058316018.tru64-unix-managers.marc@archive.invalid> (raw)

Quick kudos to Dr. Tom Blinn for his fast response:

> What is the underlying file system?  If it's UFS, then you need to fsck it, if
> it's AdvFS, then you need to run AdvFS verify on it.  You MIGHT be able to
> work around it by moving the directory entry to another directory, and then
> remove the other directory.  Or try "rm -f".  Cleaning up file system errors
> when it's the metadata can be tricky.
 
Good old UNIX!  It's always more involved than you want it to be...

I tried the "rm -f" with the same results.  Also tried to "mv" an empty
file onto the name and got the "Bad file number" error again.

In fact, the filesystem is AdvFS and to make matters worse it is part of a
TruCluser disk service -- which means it becomes more difficult to umount
and verify.  Ah, me; such is the life of a sysop.  You'd think I would get
used to it after 25 years.

Thanks Dr. Tom!  It's so good to have you watching over us and helping out!

--CHRis

Original message:
> I have a message coming out of Legato NSR during backups pointing to a
> particular file name and saying it has a "Bad file number".  I presume
> this means the inode value in the directory does not point to a valid
> inode.
> 
> If I try to "rm" this file, I get a "file not found" message.
> 
> How do I eliminate this entry in the directory?  For you former VMSers,
> what I want to do is the equivalent of a SET FILE/REMOVE.


-
=============================================================================
Chris H. Ruhnke                         Phone: (314)233-7314
IBM Global Services  M/S S306-6340      FAX  : (314)234-2262
325 J.S. McDonnell Blvd                 Email: Ruhnke@US.ibm.com
Hazelwood, MO 63042

                 reply	other threads:[~1999-07-23 13:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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