file system corrupted and chkfsys "Cannot fix"

bridged with qdn.public.qnxrtp.os
Post Reply
Guest

file system corrupted and chkfsys "Cannot fix"

Post by Guest » Wed Sep 27, 2000 1:28 pm

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

Peter Martin

Re: file system corrupted and chkfsys "Cannot fix"

Post by Peter Martin » Wed Sep 27, 2000 1:38 pm

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

Guest

Re: file system corrupted and chkfsys "Cannot fix"

Post by Guest » Wed Sep 27, 2000 2:00 pm

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

Post Reply

Return to “qdn.public.qnxrtp.os”