LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 11-07-2003, 11:05 AM   #1
kadar
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
partial harddisk damage


Hi,

My harddisk is physically damaged (its visible even from looking at it).
mke2fs -cc \dev\hda4
gives me error messages like:
hda: write_initr error=0x10 {SectorId NotFound}
hda: write_initr status=0x51 { DriveReady SeekComplete Error}
etc.

Nevertheless the most part of the harddisk seems fine, there was windows on hda2, which was a 20GB partition and it was working. With a emergency floppy linux distro I deleted everything though and tried manually leave the damaged part (since it seemed the end of the harddisk) but I was unlucky. There is still a region, for which mk2fs gives me these above messages, and to overcome this I have a question.
Is there an intelligent way to have your hdd partitioned so that the physically bad secotrs are left out ? (>badblocks write everything into a a file, but mke2fs seems not able to handle the problem. Or if I need to do it manually. How do I convert the numbers
LBAsect, sector and that number which is running while >mk2fs -cc is running.
Thanx in advance.

Zoltan
 
Old 11-07-2003, 07:22 PM   #2
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Dude - I'm not sure what you mean when you say the "damage is visible" when you are looking at the disk. If you have removed the cover from your hard drive in order to look at the surface of the disk, then unless you live in a clean room, you're allowing dust and other particulate matter to enter the compartment, which in the long run will ruin your drive. Alternatively, if the cover is still on the hard disk, and "damage is visible", then it seems unlikely that you would even want to continue to use that hard drive, as it has been seriously abused. Either way, it does not sound likely that this hard drive has too much useful life left in it. My personal recommendation would be to either replace it with a new one, or if you want to keep using it, then to use it strictly for non-essential purposes, as it likely will have a fatal failure in the near future. (Another consideration would be how much of the disk capacity is unusable? If it's a signficant amount, then again that would add to the rationale to replace the disk.)

Please understand that I'm not trying to be negative or harsh about this, but realistically, from your description, that hard drive is unlikely to continue to function much longer. If there is any important data still left on the disk, I would suggest copying it to a safe place as quickly as possible. -- J.W.
 
Old 11-07-2003, 08:12 PM   #3
tarcisio
LQ Newbie
 
Registered: Oct 2003
Location: Sobral - Ce - Brasil
Distribution: Debian
Posts: 7

Rep: Reputation: 0
No much more over what J.W. said, only to remember that in the new HD you should put more
partitions to reduce the lost of data. This includes the use of windows, too.
 
Old 11-10-2003, 08:34 AM   #4
kadar
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I meant that one can see that the metal frame of the hdd is deformed at one corner. However, I was brave and finally repartitioned it such that the two damaged regions were left out. Then mkfs -cc ran without any error message, so I put on windoze and RH9 and it's working! 37GB instead of 40, riskier than a brand bew hdd, but it would have hurt my wallet (as well as my heart) to through it away.
 
  


Reply



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
Partial Internet jrcreasy Linux - Networking 5 08-20-2005 12:07 PM
Redhat 9 ADSL - partial success chood Linux - Networking 6 04-26-2005 02:23 AM
Yum is not creating partial files rustybubbles2k Linux - Newbie 1 03-30-2005 01:44 PM
Resuming partial downloads with NcFTP nfh Linux - Software 4 12-27-2004 12:23 PM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:48 AM.

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