Re: Source of delay when reading bad sectors



Giovanni wrote:
Michael Mol wrote:

I find myself frequently in need of performing disk-to-disk copies
from a bad hard disk to a good hard disk, for system recovery
purposes. Normally, I would use dd for disk-to-disk copying, but
that doesn't work well for damaged disks.

The problem stems from a half-second (or so) delay each time dd
tries to read a bad sector from the damaged disk. What is the
source of this delay? I'd like to modify the kernel to remove, or
at least lessen, it.

The kernel tries several times to read the bad sectors and, after a
number of tries recalibrates the controller. I don't think that it
is a good idea to change this behavior.

It would be somewhat more efficacious to replace the bad disk.

--
"A man who is right every time is not likely to do very much."
-- Francis Crick, co-discover of DNA
"There is nothing more amazing than stupidity in action."
-- Thomas Matthews


.



Relevant Pages

  • Re: Copy an ide hard disk
    ... disk to a larger one for my laptop pc. ... I tried to clone the hard disk on my laptop computer to an external hard disk. ... The recovery and OS + application & data partition copy worked fine but failed while copying the data partition. ...
    (microsoft.public.windows.vista.hardware_devices)
  • PATCH for promise ide controllers
    ... while read data from the hard disk and a read error ... This strange behaviour seems to be a special issue with promise controllers ... such a disk controller and such a disk fault. ... BTW I think the 2.4 kernel will have the same problem. ...
    (Linux-Kernel)
  • Re: Duplicating Hard Drives
    ... Most new hard drives come with a disk copy utility, ... and use that utility to dupe the hard disk. ... This assumes you have one partition. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Hard Disk Failure
    ... The first rule when trying to rescue a hard disk is not to use the faulty ... does it have any bad sectors. ... MFT Start Cluster: 786432 ...
    (microsoft.public.windowsxp.hardware)
  • Re: 1) Virtual to run DOS 6.2 ? 2) To run Micro Focus COBOL/2 Version 1.2.29 L2.2 revision 003 ?
    ... I removed the hard disk and pluged it into my XP Pro laptop USB port ... It is a 503 MB hard disk with 305 MB used. ... If there IS COBOL source, ...
    (comp.lang.cobol)