Click to See Complete Forum and Search --> : Help, I lost a hard drive!!


5t3v3
09-04-2001, 01:27 PM
A few days ago, my city suffered an electrical storm. In the end, we had a 5 hour black out (the black out occured while my linux box was on).

My system can boot up, but it can't find my 3rd hard drive /hdd

This is the error message I recieve:

-------------------
Modprobe: can't locate module block-major-22.

Fsck.ext2(null):
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else) , then the superblock is corrupt, and you might try running e2fsck with an alternative superblock:

e2fsck -b 8193 (device)

no such device while trying to open /dev/hdd1
---------------------------

Now, I know for a fact my hard drive isn't dead. I was already able to write data to the drive. But my superblock is lost! Is there a way I can find my superblock on the hard drive and recover the lost data.

Thanks

5t3v3

Linuxcool
09-04-2001, 11:54 PM
I've never had this problem before. It looks like it wants you to try running e2fsck -b 8193 (device) in the hope that it can restore your superblock. The ext2 file system stores copies of the superblock every 8192 bytes according to the e2fsck man page.

When you get this error does it drop you into a shell? If it does, try running e2fsck -b 8193 /dev/hdd1 . I substituted the device that it reported having trouble with.

5t3v3
09-06-2001, 03:18 PM
Yes I can drop to a shell, and I have tried running the efsk2 command. But now my Linux box can't even see the drive.

This error occurred after an electrical storm. Although my box is behind a surge protector, its quite possible I've fried my drive.

I will have to check the BIOS to see if the hard drive is still recognized.