Hi,

We had a mount failure when trying to mount an image that was created by
the following steps:

1. created a file under '/.'

2. created another file under '/.'

3. run kupdated to flush the log. crash after sectors 0, 1, 3, 5, 6, 7 of
the log block (block 3842 in our case) is written out.  note that the
writes are log writes only.  the rest of the disk is intact.  so
presumably jfs_fsck --replay_journal_only should fix the problem.

4. run jfs_fsck --replay_journal_only on the crashed disk image.  it
complained

sbin/jfs_fsck version 1.1.5, 04-Mar-2004
processing started: 3/20/1933 18.52.48
The current device is:  /tmp/junfeng/cmc_blkdev_1_0_jfs_15788
Block size in bytes:  4096
Filesystem size in blocks:  4096
**Phase 0 - Replay Journal Log
logredo failed (rc=-269).  fsck continuing.
Filesystem is clean.

After step 4, the attempts to mount this image failed.  jfs complained
that "Log is Dirty".  For some early version of jfs, we got a kernel oops
at <2>BUG at jfs_dtree.c:3333 assert((btstack)->top !=
&((btstack)->stack[MAXTREEHEIGHT]))

Run jfs_fsck -p can fix the problem.

The crashed image can be downloaded at
http://keeda.stanford.edu/~junfeng/crashed.img.bz2

As usual, any confirmation or clarification is appreciated.

-Junfeng

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to