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. 

Reply via email to