Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-19-2005, 11:32 PM   #1
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 329

Rep: Reputation: 30
Recovering Data for the less fortunate

Hi All!

I had a harddrive die on me. Looks like it has developed bad sectors and I cannot get it to mount. I tried fsck but it tells me to do it manually (like I know how to do that). In addition when I try and mount it it says either too many filesystems, or bad sectors in supermount. Something like that.

I really need the data off this drive. I do not have any recent backups.

So does anyone have any ideas? I tried to dump the data using:

dd if=/dev/hdb2

But that told me there were bad sectors.

How to recover data from a filesystem that won't mount because of bad sectors.

fdisk says:
Disk /dev/hdb: 2162 MB, 2162442240 bytes
128 heads, 63 sectors/track, 523 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 51 205600+ 82 Linux swap / Solaris
/dev/hdb2 * 52 523 1903104 83 Linux


Old 03-19-2005, 11:41 PM   #2
Senior Member
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
Telling us your actual filesystem might be a nice place to start. Linux has more than one. Not that it'll ultimately help, but it would be somewhere to begin.
Old 03-20-2005, 04:20 PM   #3
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 329

Original Poster
Rep: Reputation: 30

It looks like a reiserFS (I am still pretty New so I might be missing other information).


Will read-only check consistency of the filesystem on /dev/hdb2
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
reiserfsck --check started at Sun Mar 20 08:19:17 2005
Replaying journal..

The problem has occurred looks like a hardware problem. If you have
bad blocks, we advise you to get a new hard drive, because once you
get one bad block that the disk drive internals cannot hide from
your sight,the chances of getting more are generally said to become
much higher (precise statistics are unknown to us), and this disk
drive is probably not expensive enough for you to you to risk your
time and data on it. If you don't want to follow that follow that
advice then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that means
it takes a block it has in reserve and allocates it for use for
of that block number). If it cannot remap the block, use badblock
option (-B) with reiserfs utils to handle this block correctly.

bread: Cannot read the block (8033): (Input/output error).

Warning... fsck.reiserfs for device /dev/hdb2 exited with signal 6.
fsck.reiserfs /dev/hdb2 failed (status 0x8). Run manually!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
recovering data from an old RAID -0 dominant Linux - Software 1 01-26-2005 03:42 AM
recovering data pirozzi Linux - General 5 11-30-2004 03:08 AM
recovering data... marsques Linux - General 18 09-01-2004 03:36 PM
Recovering Lost Data lawrencegoodman Linux - General 1 04-04-2004 01:57 PM
Recovering data CatSC Linux - Newbie 3 01-01-2004 12:25 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration