I have a volume which was rendered unmountable after a crash. When I run jfs_fsck it seems to run forever, occupying 99 percent of the cpu and under verbose output gives the notice "Cannot read Directory Index page". I'd like to know if fsck is actually doing something useful, or just got stuck, because i see no disk io.
I tried to trace the problem down a bit: fsck is doing fscktree.c:350:int xTree_binsrch_page(...) , and executes the while loop. The conditionals inside the loop seem(i have not tested in depth) to bring execution always to line 405. I have added a typescript of jfs_fsck's runtime. I would be thankful for any hints and please let me know if the information I passed is insufficient. What is the probability that my volume can be restored? Regards, Christoph Beckmeyer <--snip--> catchup:~/jfsutils-1.1.10/fsck# ./jfs_fsck -d -v /dev/vg00/backups ./jfs_fsck version 1.1.10, 19-Oct-2005 processing started: 11/27/2005 0.9.52 [xchkdsk.c:1447] Using default parameter: -p [xchkdsk.c:3012] The current device is: /dev/vg00/backups [xchkdsk.c:1522] Open(...READ/WRITE EXCLUSIVE...) returned rc = 0 [fsckpfs.c:3229] Primary superblock is valid. [fsckmeta.c:1547] The type of file system for the device is JFS. [xchkdsk.c:1539] Block size in bytes: 4096 [xchkdsk.c:1852] Filesystem size in blocks: 8388608 [xchkdsk.c:1859] **Phase 0 - Replay Journal Log [xchkdsk.c:1866] LOGREDO: Log already redone! [logredo.c:554] logredo returned rc = 0 [xchkdsk.c:1898] **Phase 1 - Check Blocks, Files/Directories, and Directory Entries [xchkdsk.c:1991] Cannot read Directory Index page. [dirindex.c:238] ..|...... <--snap--> ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
