On Wed, 2005-10-26 at 17:41 -0400, Eric Gharakhanian wrote: > I am running gentoo on my little home server, and for the first time > ever the box locked up (i beleive do to a loose pci card that was not > screwed into place, DOH!). Anyhow, one hard drive on this box is > a 160gb drive which has a roughly 150gb jfs partition. This > partition holds home videos, back ups of dvds and many pictures from > my digital camera. Upon rebooting i could not mount that partition > > mount: wrong fs type, bad option, bad superblock > on /dev/hdh4 > > next i ran an # fsck.jfs -v /dev/hdh4 > > fsck.jfs version 1.1.10, 19-Oct-2005 > processing started: 10/25/2005 6.1.34 > Using default parameter: -p > The current device is: /dev/hdh4 > 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: 37636278 > **Phase 0 - Replay Journal Log > ujfs_rw_diskblocks: read 0 of 2116 bytes at offset 154124644352 > LOGREDO: Unable to read Journal Log superblock. > logredo failed (rc=-260). fsck continuing. > **Phase 1 - Check Blocks, Files/Directories, and Directory Entries > ujfs_rw_diskblocks: read 0 of 4096 bytes at offset 40802189312 > Unrecoverable error reading M from /dev/hdh4. CANNOT CONTINUE. > Fatal error (-10021,30) accessing the filesystem > (1,40802189312,4096,0). > processing terminated: 10/25/2005 6:02:28 with return code: -10021 > exit code: 8. > > I can mount the drive read only, but when i try to access many > dirrectories as root, bash returns saying Permission denied. > > Any help recovering my data would be greatly appreciated.
I don't have time to look at this right now. Would you have a live CD you could boot from? You may try to run an older version of jfs_fsck against the partition to see if it will replay the journal correctly. If that works, revert to jfsutils-1.1.8 until I can figure out what happened here. -- David Kleikamp IBM Linux Technology Center ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
