LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-29-2006, 01:44 AM   #1
raselmsh
Registered User
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
IDE treatment of bad sectors


Hello,

The Windows partition of my HD is in the process of dying (no clue as to why the Linux partition is still unscathed...). Windows chkdsk decided that it could not cope with at least one error on the partition and exited at 50%, so I am in the process of copying it onto another system using ddrescue under Linux. And now the problem: every time ddrescue (actually, I think, the IDE driver) hits a bad sector, it spends several minutes trying and retrying to read it (and freezing any programme trying to do disk access at the same time in the process). I suspect that the IDE controller itself is trying several times (the same thing happened during chkdsk, but not quite as bad) and that the driver is as well, which adds up to a lot of retries. After many, many hours of work it is now a 3.8 GB out of about 12.

And now my actual question. I think it would be a great feature if the number of times the driver retried to read could be set via ioctl/hdparm - and the same of course for the controller, although I admittedly don't know much about IDE - so that retries could be deactivated in situations like these. Another feature that might be useful in such circumstances would be to turn off error checking altogether, so that a programme which knows where the bad sectors are (or a backup run which is not aiming at 100% accuracy, which most in this situation will not be) can extract as much good information as possible, even from the bad sectors.

I don't want to post straight to the kernel mailing list, since I am not a "regular" there, and I didn't want to bother the maintainer straight away either. Where is the best place to go with this "wish"? I found a couple of similar discussions on the kernel mailing list, but all a few years old.

Regards and thanks!

Michael
 
  


Reply


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
Bad sectors tuxombie Linux - Hardware 3 01-29-2005 01:05 PM
marking bad sectors in linux joe56 Linux - Software 1 06-14-2004 09:55 PM
bad sectors on harddrive Lindquist Linux - Hardware 1 01-28-2004 04:41 PM
searching 4 bad sectors zeky Linux - Software 1 12-12-2002 08:49 AM
Bad sectors blystovski Linux - Software 1 10-17-2001 12:18 PM

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

All times are GMT -5. The time now is 08:40 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