On Fri, 10 Sep 2004, Dave Kleikamp wrote: > I'm confused as to how only those sectors get written to disk, but not > sectors 2 and 4. How are you monitoring this?
Thanks for the reply. We have a tool that can permute all the sector level writes and check for inconsistencies. Our assumption is that the disk sector may go bad and be remapped automatically, so even if the sector numbers are sequential, the sectors may not be adjacent on the disk. that implies sectors can be written out of order. is our assumption correct? > > > 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. > > It shouldn't be reporing that the filesystem is clean. > > > After step 4, the attempts to mount this image failed. jfs complained > > that "Log is Dirty". > > This is the correct behavior. fsck without the --replay_journal_only > should fix any problems. > > > 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])) > > I think this is fixed in recent kernels. > > > 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. > > jfs assumes that each log page is written sequentially. sequence > numbers at the beginning and end of each page must be correct. I can't > imagine why sectors 0 & 7 can both be written, but not everything in > between them. Did you have to do something unnatural to cause this to > happen? > > > > -Junfeng > > Thanks, > Shaggy > -- > David Kleikamp > IBM Linux Technology Center > _______________________________________________ Jfs-discussion mailing list [EMAIL PROTECTED] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion
