Solved

Hard drive problems

Posted on 1997-03-27
1
192 Views
Last Modified: 2013-12-15
This isn't exactly a setup problem, but this seems to be the closest forum.

I was setting up a new hard drive last night and apparently knocked around one of my old drives a little too hard.  When I tried booting of the old drive I got a kernel panic (with a message I didn't write down).  I booted from floppy
and ran e2fsck.  I saw the following:

------------------

/dev/hda2 contains a file system with errors, check forced.

Error reading block 64734 (attempt to read block from filesystem resulted in short read) while reading indirect blocks at inode 14317.  Ignore error <y>?
------------------

to which I responded 'y'.  Then I got:

------------------
Inode 14317, i-blocks wrong 1056 (counted 1338).  Set i-blocks to to
counted <y>?
------------------

to which I responded 'n'.  After this I got many, many repeats of the first message and a couple repeats of the second, but with different numbers.  I eventually got tired of typing responses, so I gave up and tried to mount
the drive read-only just to see what would happen.  After successfully mounting I typed 'ls' and got:

------------------
Kernel panic: EXT2-fs panic (device 3/2): ext2_read_inode: unable to read i-node block - inode = 124442, block = 499719.
------------------

Whatever is wrong with the drive is probably localized since I can boot to DOS with the same drive and don't see any problems.  I realize the drive is history, but I have some data I'd like to recover if at all possible.  Any ideas on how I might accomplish this?

Thanks,
Rich

0
Comment
Question by:holmes032797
1 Comment
 
LVL 1

Accepted Solution

by:
ggeens earned 100 total points
ID: 1627022
I think you have some bad sectors on the disk. Try running badblocks, possibly followed by fcsk again.
Or maybe it is just a corrupted superblock. e2fsck -b 8193 could help in this case.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now