Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
harddrive problems, data lost?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
elykyllek
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2002
Posts: 103
Location: Halifax, Nova Scotia, Canada

PostPosted: Tue Aug 12, 2003 1:17 am    Post subject: harddrive problems, data lost? Reply with quote

Major harddrive problem


A night ago I shutdown my computer for about an hour. When I brought it back up /dev/hda8 (home) was corrupted, reiserfsck says it has a bad block at 4883751, /dev/hda9 (var) and /dev/hda10 (/tmp) are now missing, none of (s/f/c)disk programs can see them.

when I fdisk -l /dev/hda it prints absolutely nothing
plain fdisk /dev/hda says its unable to seek.

cfdisk /dev/hda results in "FATAL ERROR: Bad primary partition 1: Parition ends after end-of-disk"

sfdisk is the most promising, it shows all hda's up to 8, but at the top it says this:
Code:

Disk /dev/hda: 4111 cylinders, 255 heads, 63 sectors/track
llseek: Invalid argument

sfdisk: seek error on /dev/hda - cannot seek to 69063435
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0


dmesg has a lot of this:
Code:

hda: read_intr: error=0x04 { DriveStatusError }
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x04 { DriveStatusError }
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x04 { DriveStatusError }
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x04 { DriveStatusError }
ide0: reset: success


reiserfsck doesn't see /devhda9-10

but for 8 it prints this:

Code:

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 risk your time
and data on it. If you don't want to 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 requests of that block number).  If it cannot
remap the block, this could be quite bad, as it may mean
that so many blocks have gone bad that none remain in
reserve to allocate.

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

Aborted


I have searched the gentoo forums, one post suggested that I turn off dma, and I have tried turning it on then rebooting, and turning it off
then rebooting, nothing changed.


I'm fine with the idea of buying a new harddrive and doing a reinstall, its just I really want to get some data off of /dev/hda8.

I'm open to any suggestings.

What I have not tried yet is the reiserfsck --rebuild* options. They seem dangerous, but if someone knows that these would solve the problem let me know.
Back to top
View user's profile Send private message
Haukkari
n00b
n00b


Joined: 12 Aug 2003
Posts: 11
Location: Finland

PostPosted: Tue Aug 12, 2003 1:50 am    Post subject: Reply with quote

Hm. That's kind of bad. I think the HDD might be broken. But try the reiserfs --rebuild -thing if you're desperate enough. I did it on my root-partition and it worked fine. You might not be so lucky. =)
Back to top
View user's profile Send private message
kurifu
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2003
Posts: 77

PostPosted: Tue Aug 12, 2003 3:16 am    Post subject: Reply with quote

So I assume that it was once working to get the initial partitions and data onto the actual hard drives, you did not specify this, so this is an assumption.

By that assumption I would have to guess that your hard driver is toast. Sounds like your hard drive is not seeking properly, may the the result of using inproper settings if you used hdparm, though not likely due to hdparm.

This would explain why changing your DMA settings is not working at all. Go ahead and try your reiserfs --rebuild, it is about the only option you have right now, and not like the situation can get a whole lot worse.

Your best bet though is that you are going to need a new hard drive.

In any case, good luck.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum