Problem mounting partition after failure
I was in the process of copying pictures from my CF card to a directory when everything just locked up. (Mandrake 10.0) I was unable to do anything, including getting to a console or CTRL-ALT-DELETE. It was locked up hard. I had to hard-reset my system.
So when the system came back up, one of my drives (160GB, two 80GB partititions) was mounted read-only. I did a clean restart (shutdown -r) and then they wouldn't mount at all. I commented them out of /etc/fstab and the system came up. But now I can't access this drive. I have run e2fsck on it, and tried to restore the superblock 32768 (4k blocks). I even tried all of the other superblocks, but I still can't access the drive. When I try to mount it I get: "wrong fs type, bad option, bad superblock on /dev/hdb1" I ran cfdisk on the drive, and it can see the partitions. I am guessing either my filesystem is f'd up or the drive is going bad. Any suggestions? This is my backup drive, and I do have some things on there that I haven't backed up to offline media. So I do want to recover all the data. Thanks. Michael |
i think you should google for a program called "testdisk ".
i've heard good things about that recovering/repairing... good luck though... egag |
cause of problem
Thanks, I did see that on Freshmeat, and will try it out when I get home.
This is a relatively new drive (2 months) so I am wondering if this problem could be a bad drive, or if it was purely caused by something else like the hard reset. -M |
You may also want to try booting to Knoppix livecd and seeing if it picks up the partitions correctly. Knoppix is a life-saver when it comes to system recovery.
Troy |
partitions are OK (I think)
Yeah, I have about 10 different versions of Knoppix lying around I could try. :-)
I ran testdisk, and it seems that the partitions are OK. I was even able to browse and see the data. But I can't mount the partitions. I still get that message: mount: wrong fs type, bad option, bad superblock on /dev/hdb1, or too many mounted file systems I guess it has to be the bad superblock. I just have to figure out what to do now. I have run e2fsck on the first and all the other superblocks. If I run "e2fsck -b <superblock> /dev/hdb1" is there something else that I would need to do after it finishes? I just try to mount the partition, and it fails again. Michael |
All times are GMT -5. The time now is 05:25 AM. |