Well, I'm back.

Here's what has happened since we last spoke.  I got a new HD big enough to 
make an image file.  I dd'ed to make the image.  (what's the difference between 
dd and dd_rhelp?)
.
I used losetup to make my loop device and then ran fsck.jfs -vf on /dev/loop0.  
Unfortunately, there were some errors.  

The first time I ran it I had a giant string of this message and this final 
exit code.  I forgot to output to a text file the first time so I've lost the 
beginning of the message. It ended like this.

The extent descriptor for inodes 494753248 through 494753279 is invalid.  
(Inode Allocation Map A16, Inode Allocation Group -1996367915, Extent Index 47).
etc etc etc etc
The extent descriptor for inodes 494755808 through 494755839 is invalid.  
(Inode Allocation Map A16, Inode Allocation Group -1996367915, Extent Index 
127).
cannot recover files and/or directories 494755808 through 494755839.  Will 
release.
processing terminated:  7/24/2007 17:48:20  with return code: 10053  exit code: 
8.

Try number two and those subsequent got me this:

/sbin/fsck.jfs version 1.1.10, 19-Oct-2005
processing started: 7/24/2007 17.49.29
The current device is:  /dev/loop0
Open(...READ/WRITE EXCLUSIVE...) returned rc = 0
Primary superblock is valid.
The type of file system for the device is JFS.
Block size in bytes:  4096
Filesystem size in blocks:  122097920
**Phase 0 - Replay Journal Log
LOGREDO:  Log already redone!
logredo returned rc = 0
**Phase 1 - Check Blocks, Files/Directories, and  Directory Entries
Duplicate reference to 4 block(s) beginning at offset 7187876 found in file 
system object IA16.
etc etc etc etc
Duplicate reference to 4 block(s) beginning at offset 36768276 found in file 
system object IA16.
Inode A16 has references to cross linked blocks.
processing terminated:  7/24/2007 17:49:30  with return code: 10053  exit code: 
8.

I can post the full output if needed.

Right now, I am running jfsrec on the image file to see what it is able to come 
up with.  Is there anything else to try with fsck? I saw in the man entry that 
the -o option is to be used as a last resort.  I guess with an image file I 
don't have anything to lose (except the 42 hours it would take to make a new 
one).

I saw a post 
(http://osdir.com/ml/file-systems.jfs.general/2005-06/msg00017.html) that 
mentioned trying a later version of jfsutils.  I'm using the one in the Fedora 
C6 repository: jfsutils-1.1.10-4.1 My subversion compiling of jfsrec was 
successful (first time I've ever done that) so I could have a stab at 
installing a more up to date version of jfsutils.

Thank you again for all of your help.





       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to