Checking file system with chkfsys

Hello All,

My laptop hung up with QNX 6 running with several files open. I want to run
a chkfsys to make sure everything is ok, but I can’t get a file system with
no open files. Running ‘sin fi’ shows 20 or 30 open files. :frowning: I started
up into a terminal and still it shows that many files. Is there anyway to
get a filesystem with no open files? How else do we run chkfsys?

TIA,

Jim

I have done more research and it looks as if the ‘sin fi’ returns the
resource managers for the system. Is it ok to do a chkfsys with resource
managers running? How do I know if the program I see listed in ‘sin fi’ is
a resource manager or a program with an actual file opened on the fs? I’m
still back at my same problem… How to get a clean ‘sin fi’ so I can run
chkfsys on the filesystem.

Help!

TIA,

Jim

“Jim Lambert” <jlambert@futurex.com> wrote in message
news:9j2d2h$m0u$1@inn.qnx.com

Hello All,

My laptop hung up with QNX 6 running with several files open. I want to
run
a chkfsys to make sure everything is ok, but I can’t get a file system
with
no open files. Running ‘sin fi’ shows 20 or 30 open files. > :frowning: > I
started
up into a terminal and still it shows that many files. Is there anyway to
get a filesystem with no open files? How else do we run chkfsys?

TIA,

Jim

On Tue, 17 Jul 2001 17:46:11 -0700, “Jim Lambert”
<jlambert@futurex.com> wrote:

The “sin files” is not of much help, at least in 6.0.
According to the chkfsys’ doc, in “normal” operation the utility won’t
scan when there are open files, and won’t allow opening files while
scanning, but there’s also a warning about running the utility on a
filesystem that’s in use. It seems a save check with -f (don’t fix)
is allowed with open files (to reduce the possible number of open
files, do it in a save, “minimal” text mode). If there are errors,
it’ll complain. The reverse, however, may not be true, i.e., if it
complains, this may only be because of the open files. Hopefully, if
it does not complain…

It’s better to check unmounted portions of the filesystem.
Consider also forcing the check (-u), disregarding the OK status bit.

ako

I have done more research and it looks as if the ‘sin fi’ returns the
resource managers for the system. Is it ok to do a chkfsys with resource
managers running? How do I know if the program I see listed in ‘sin fi’ is
a resource manager or a program with an actual file opened on the fs? I’m
still back at my same problem… How to get a clean ‘sin fi’ so I can run
chkfsys on the filesystem.

Help!

TIA,

Jim

“Jim Lambert” <> jlambert@futurex.com> > wrote in message
news:9j2d2h$m0u$> 1@inn.qnx.com> …
Hello All,

My laptop hung up with QNX 6 running with several files open. I want to
run
a chkfsys to make sure everything is ok, but I can’t get a file system
with
no open files. Running ‘sin fi’ shows 20 or 30 open files. > :frowning: > I
started
up into a terminal and still it shows that many files. Is there anyway to
get a filesystem with no open files? How else do we run chkfsys?

TIA,

Jim
\