View previous topic :: View next topic |
Author |
Message |
swimgeek Tux's lil' helper
Joined: 09 May 2003 Posts: 124 Location: Minneapolis, MN, USA
|
Posted: Thu Jan 22, 2004 6:24 am Post subject: Help! Hard drive partition crashed |
|
|
I was applying the acpi patch to the linux 2.6.0 kernel about an hour ago when the patch process came to a halt. When I hit ^C I got a segmentation fault and the hard drive started to make cliking noises. So I powered off the computer. On rebooting, fsck complained about drive errors. While doing a manual scan it seems that the section of the harddrive on my laptop hotsing /home has bad sectors. Here's the output of fsck:
Code: |
fsck /dev/hda9
fsck 1.34 (25-Jul-2003)
reiserfsck 3.6.11 (2003 www.namesys.com)
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will read-only check consistency of the filesystem on /dev/hda9
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 Wed Jan 21 23:55:15 2004
###########
Replaying journal..
0 transactions replayed
Checking internal tree../ 1 (of 23)/ 1 (of 131)
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 (58392): (Input/output error).
Warning... fsck.reiserfs for device /dev/hda9 exited with signal 6.
|
I tried mounting the drive manually with
Code: |
mount /dev/hda9 /home
|
but got the message
Code: |
mount: directory doesn't exist
|
Now I have a few questions:
a. Can I recover data for my /home from the partition that seems to have crashed?
b. If not, is there a utility to backup/transfer rest of my partitions to a new hard drive?
c. My laptop is under warranty with Dell. Do they replace hard drives if you have been running linux on it (it came preinstalled with Windows XP)? If anyone has had any experience with this, I'll like to hear it.
thanks for any help!!! |
|
Back to top |
|
|
Crimson Rider Guru
Joined: 23 Jun 2003 Posts: 462 Location: Delft, the Netherlands
|
Posted: Thu Jan 22, 2004 8:31 am Post subject: |
|
|
Dude, I am afraid you have a serious problem here.
Your best bet is probably to boot a live cd and a spare HD and us dd to move the entire contents of your crashed partition to that and from then perform the reiser checks.
There is a chance you could remount then.
As for sending it to Dell, I have heard some horror stories about Linux and Dell but also some good ones. Best bet is to call them beforehand and ask.
good luck
This post was answered in accordance with "the adopt an unanswered post initiative today" _________________ Code, justify, code - Pitr Dubovich |
|
Back to top |
|
|
swimgeek Tux's lil' helper
Joined: 09 May 2003 Posts: 124 Location: Minneapolis, MN, USA
|
Posted: Fri Jan 23, 2004 3:15 am Post subject: |
|
|
Thanks for the reply Crimson Rider it was helpful!
I called Dell and they are shipping me a new HD, so that's good
I also dd'ed the crashed partition as a single file to another partition which is still good. Now what sorts of checks can I run on this file and is there a way for me to get my data from it?
thanks again! |
|
Back to top |
|
|
Crimson Rider Guru
Joined: 23 Jun 2003 Posts: 462 Location: Delft, the Netherlands
|
Posted: Fri Jan 23, 2004 7:50 pm Post subject: |
|
|
No prob,
You can mount the file as a loopback device if you have that sort of support enabled in your kernel.
You can probably (???) run fsck on the file you created.
There is plenty of guides out there on how to mount loopback devices, but if you have troubles just let me know. _________________ Code, justify, code - Pitr Dubovich |
|
Back to top |
|
|
|
|
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
|
|