file system corrupted and chkfsys "Cannot fix"

I upgraded my beta3 to the latest qrtp. It has the same file system
disappear problem I reported before. That is after heavy load of
work, the file system disappears. Somebody told me that the file system
program crashed. Anyway, I reboot the system. Ran win98 scandisk.
Boot back to qrtp. Run ‘chkfsys /’. Well, this time it said it cannot
fix it.

Dir /home/staff/gman/work/v8.60-B/beta/dist/rdbms/lib
Dir /home/staff/gman/work/v8.60-B/beta/dist/shlib
Dir /home/staff/gman/work/workdb
Dir /home/staff/gman/work/v8.60-C
Dir /home/staff/gman/work/v8.60-C/cw
Dir /home/staff/gman/work/v8.60-C/cw/rdbms
Dir /home/staff/gman/work/v8.60-C/cw/rdbms/testsrc.jap
[ /home/staff/gman/work/v8.60-C/cw/rdbms/testsrc.jap/n: XFTRCOORDINATOR
]
link lost
Paused (Cannot fix)…

rm -fr cw

cw/rdbms/testsrc.jap/POINT
: Corrupted file system detected
cw/rdbms/testsrc.jap/ration: XFTRREMOVE
: Corrupted file system detected
rm: Error reading directory cw/rdbms/testsrc.jap/peration: UFTRIN: Corrupted fil
cw/rdbms/testsrc.jap/tion: UFTRGFL
: Corrupted file system detected
cw/rdbms/testsrc.jap/tion: OFTRDELPTR
: Corrupted file system detected
cw/rdbms/testsrc.jap/FO
: Corrupted file system detected
cw/rdbms/testsrc.jap/2d
: Corrupted file system detected

By the way, I don’t have the file “POINT”, “XFTRREMOVE”, etc. These look
like text in some of my files.

Is there anyway to fix the file system? I checked various chkfsys option.
Nothing helps. May be it does mean it “Cannot fix”.


Gordon Man
gman@empress.com

gman@empress.com wrote:
: I upgraded my beta3 to the latest qrtp. It has the same file system
: disappear problem I reported before. That is after heavy load of
: work, the file system disappears. Somebody told me that the file system
: program crashed. Anyway, I reboot the system. Ran win98 scandisk.
: Boot back to qrtp. Run ‘chkfsys /’. Well, this time it said it cannot
: fix it.

: Dir /home/staff/gman/work/v8.60-B/beta/dist/rdbms/lib
: Dir /home/staff/gman/work/v8.60-B/beta/dist/shlib
: Dir /home/staff/gman/work/workdb
: Dir /home/staff/gman/work/v8.60-C
: Dir /home/staff/gman/work/v8.60-C/cw
: Dir /home/staff/gman/work/v8.60-C/cw/rdbms
: Dir /home/staff/gman/work/v8.60-C/cw/rdbms/testsrc.jap
: [ /home/staff/gman/work/v8.60-C/cw/rdbms/testsrc.jap/n: XFTRCOORDINATOR
: ]
: link lost
: Paused (Cannot fix)…

You should be able to run zap (/usr/bin/zap) on the directory
…/cw/rdbms/testsrc.jap and that will allow you to remove it.
After that you will want to run chkfsys after on it to reclaim any lost
blocks. You will lose any of the data that is in that directory,
but the rest of your disk should be intact.

What sort of heavy load were you putting on the filesystem prior to this
happening?

Peter

: # rm -fr cw
: cw/rdbms/testsrc.jap/POINT
: : Corrupted file system detected
: cw/rdbms/testsrc.jap/ration: XFTRREMOVE
: : Corrupted file system detected
: rm: Error reading directory cw/rdbms/testsrc.jap/peration: UFTRIN: Corrupted fil
: cw/rdbms/testsrc.jap/tion: UFTRGFL
: : Corrupted file system detected
: cw/rdbms/testsrc.jap/tion: OFTRDELPTR
: : Corrupted file system detected
: cw/rdbms/testsrc.jap/FO
: : Corrupted file system detected
: cw/rdbms/testsrc.jap/2d
: : Corrupted file system detected

: By the way, I don’t have the file “POINT”, “XFTRREMOVE”, etc. These look
: like text in some of my files.

: Is there anyway to fix the file system? I checked various chkfsys option.
: Nothing helps. May be it does mean it “Cannot fix”.

: –
: Gordon Man
: gman@empress.com

Peter Martin <peterm@qnx.com> wrote:

: You should be able to run zap (/usr/bin/zap) on the directory
: …/cw/rdbms/testsrc.jap and that will allow you to remove it.
: After that you will want to run chkfsys after on it to reclaim any lost
: blocks. You will lose any of the data that is in that directory,
: but the rest of your disk should be intact.

Thanks. It works. I am almost re-install the OS from scratch.

: What sort of heavy load were you putting on the filesystem prior to this
: happening?

I was running our test suites. It involves compiling, linking and running.
I had this random file system disappearing problem before. Sometime
I can run the whole test suite without any problem. Also, this can
happen randonly whenever I run something heavy like compiling all my
source code (nothing to do with my test suite).


Gordon Man