Hi I was running a kind of crash test on JFS in which I do a large number of filesystem operations with several threads and crash the machine with a direct poweroff.
On reboot, I ran fsck.jfs firstly with default options simply to replay the log. This succeeded without reporting and problems and said that the filesystem was marked clean. <snip> **Phase 0 - Replay Journal Log Filesystem is clean. <snip> Next, I ran fsck.jfs with "-f" option to verify if there are any inconsistencies in the filesystem. I got a few errors saying something like <snip> **Phase 4 - Report Problems File system object FF106504 is linked as: /d15/run_23-10000109 cannot repair the data format error(s) in this file. cannot repair FF106504. Will release. <snip> At completion though, it looked like fsck.jfs had found errors, corrected them and filesystem was marked clean Now, I again tried fsck.jfs with "-f" for a third time. I expected that this time it would not find any errors and report that the filesystem was clean. However, it again reported errors like <snip> **Phase 4 - Report Problems File system object DF4109 is linked as: /d15 Errors detected in Directory Index Table. Will Fix. <snip> Finally, at the 4th run of fsck, i noticed that it did not report any problems. My question is, why did fsck report problems for the 2nd time also even after it had just done a full filesystem check and repair ? I tried about 30 "crash" cycles and found that this problem got reproduced 3 to 4 times. Is there some other option that I need to specify to scan and fix all problems ? Or am I missing something here ? Thanks, Ash _______________________________________________ Jfs-discussion mailing list [EMAIL PROTECTED] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion
