• Subscribe by RSS
  • Raid Recovery
  • Flash Data Recovery
  • Hitachi Data Recovery
  • Seagate data recovery
  • Samsung Data Recovery
  • WD Data Recovery
 
Data Recovery Salon
 
  • Recovery News & Tips
  • D.R Asia & Oceania
    • Data Recovery Afghanistan
    • Data Recovery Armenia
    • Data Recovery Australia
    • Data Recovery Azerbaijan
    • Data Recovery Bahrain
    • Data Recovery Bangladesh
    • Data Recovery Bhutan
    • Data Recovery Brunei
    • Data Recovery Burma
    • Data Recovery Cambodia
    • Data Recovery China
    • Data Recovery Fiji
    • Data Recovery French Polynesia
    • Data Recovery Georgia
    • Data Recovery Hong Kong
    • Data Recovery India
    • Data Recovery Indonesia
    • Data Recovery Iran
    • Data Recovery Iraq
    • Data Recovery Israel
    • Data Recovery Japan
    • Data Recovery Jordan
    • Data Recovery Kazakhstan
    • Data Recovery Kiribati
    • Data Recovery Kuwait
    • Data Recovery Kyrgyzstan
    • Data Recovery Laos
    • Data Recovery Lebanon
    • Data Recovery Malaysia
    • Data Recovery Maldives
    • Data Recovery Marshall Islands
    • Data Recovery Micronesia
    • Data Recovery Nauru
    • Data Recovery Nepal
    • Data Recovery New Zealand
    • Data Recovery North Korea
    • Data Recovery Oman
    • Data Recovery Pakistan
    • Data Recovery Philippines
    • Data Recovery Saudi Arabia
    • Data recovery Thailand
  • D.R Africa
    • Data Recovery Algeria
    • Data Recovery Angola
    • Data Recovery Benin
    • Data Recovery Botswana
    • Data Recovery Burundi
    • Data Recovery Cameroon
    • Data Recovery Burkina Faso
    • Data Recovery Cape Verde
    • Data Recovery Central African Republic
    • Data Recovery Chad
    • Data Recovery Comoros
    • Data Recovery Democratic Republic of the Congo
    • Data Recovery Djibouti
    • Data Recovery Egypt
    • Data Recovery Ethiopia
    • Data Recovery Gabon
    • Data Recovery Gambia
    • Data Recovery Ghana
    • Data Recovery Guinea
    • Data Recovery Ivory Coast
    • Data Recovery Kenya
    • Data Recovery Lesotho
    • Data Recovery Liberia
    • Data Recovery Malawi
    • Data Recovery Mali
    • Data Recovery Mauritania
    • Data Recovery Mauritius
    • Data Recovery Mayotte
    • Data Recovery Morocco
    • Data Recovery Mozambique
    • Data Recovery Namibia
    • Data Recovery Niger
    • Data Recovery Nigeria
    • Data Recovery South Africa
    • Data recovery Uganda
  • Data Recovery America
    • Data Recovery American Samoa
    • Data Recovery Anguilla
    • Data Recovery Antigua and Barbuda
    • Data Recovery Argentina
    • Data Recovery Aruba
    • Data Recovery Bahamas
    • Data Recovery Barbados
    • Data Recovery Belize
    • Data Recovery Bermuda
    • Data Recovery Bolivia
  • Data Recovery Europe
    • Data Recovery Germany
    • Data recovery France
    • Data Recovery Croatia
    • Data Recovery Denmark
    • Data Recovery Estonia
    • Data Recovery Czech Republic
    • Data Recovery Greece
    • Data Recovery Finland
    • Data Recovery Greenland
    • Data Recovery Falkland Islands
    • Data Recovery Hungary
    • Data Recovery Iceland
  • Donor Firmware
    • Seagate HDD Donor FW
    • WD HDD Donor FW
  • Links
    • How to advertise with Data Recovery Salon?

Defect Mapping and Spare Sectoring Of Hard Disk

Despite the precision manufacturing processes used to create hard disks, it is virtually impossible to create a disk with tens of millions of sectors and not have some errors show up. Imperfections in the media coating on the platter or other problems can make a sector inoperable. A problem with a sector, if uncorrected, would normally manifest as an error when attempting to read or write the sector, but can appear in other ways as well. Most of us have experienced these errors on occasion when using floppy disk drives.

Modern disks use ECC to help identify when errors occur and in some cases correct them, however, there will still be physical flaws that ECC cannot overcome, and that therefore prevent parts of a disk from being used. Usually these are individual sectors that don’t work, and they are appropriately enough called bad sectors. Tracks where there are bad sectors are sometimes called bad tracks.

If you’ve ever used a disk information utility on a floppy disk (or on a very old hard disk), you’ve likely at some point seen a report showing a few kilobytes worth of bad sectors. However, if you run such a utility on a modern hard disk, you will normally never see any reports of bad sectors on the disk. Why is this?

Sectors that are bad cannot be used to store data, for obvious reasons: they are bad because they cannot be trusted to reliably write and/or reproduce the data at a later time. It is therefore necessary for some part of the system to keep track of where they are, and not use them. The best way for this to be done is for the drive to detect and avoid them. If the drive does not do this, the operating system must do it. If any bad sectors are not detected until after they have been used, data loss will probably result.

To allow for maximum reliability then, each disk drive is thoroughly tested for any areas that might have errors at the time it is manufactured. All the sectors that have problems or are thought to be unreliable, are recorded in a special table. This is called defect mapping. Some drives go even further than this, mapping out not only the sectors that are questionable, but the ones surrounding them as well. Some drives will map out entire tracks as a safety precaution.

On older hard disks, these problem areas were actually recorded right on the top cover of the disk, usually in hand-writing by the technician testing the drive! This process was necessary because low-level formatting was done by the company assembling the PC–or even the end-user–and this information was used to tell the controller which areas of the disk to avoid when formatting the disk. Part of the low-level format process was to have the person doing the LLF tell the controller which sectors were bad, so it would avoid them, and also tell any high-level format program not to try to use that part of the disk. These markings are what cause “bad sectors” reports to show up when examining older hard disks: these are the areas the disk has been told not to use. Since floppy disks are low-level formatted and high-level formatted at the same time, the same situation applies, even today. If any sectors cannot be reliably formatted, they are marked as “bad” and the operating system will stay away from them.

While early PC users accepted that a few bad sectors on a drive was normal, there was something distasteful about plopping down $1,000 for a new hard disk and having it report “bad sectors” as soon as you turned it on. There is no way to produce 100% perfect hard disks without them costing a small fortune, so hard disk manufacturers devised an interesting compromise.

On modern hard disks, a small number of sectors are reserved as substitutes for any bad sectors discovered in the main data storage area. During testing, any bad sectors that are found on the disk are programmed into the controller. When the controller receives a read or write for one of these sectors, it uses its designated substitute instead, taken from the pool of extra reserves. This is called spare sectoring. In fact, some drives have entire spare tracks available, if they are needed. This is all done completely transparently to the user, and the net effect is that all of the drives of a given model have the exact same capacity and there are no visible errors. This means that the operating system never sees the bad areas, and therefore never reports “bad sectors”. They are still there though, just cleverly hidden.

Really, when you think about it, the hard disk companies are sacrificing a small amount of storage for “good looks”. It would be more efficient to use all of the sectors on the disk and just map out the few bad ones. However, sometimes marketing wins out over engineering, and it seems that more people want the warm feeling of thinking they have a perfect drive, even if it costs them theoretical storage in the process. Today’s drives are so enormous that few people would even care much anyway about a few extra megabytes, but that wasn’t always the case!

Due to spare sectoring, a brand new disk should not have any bad sectors. It is possible, however, for a modern IDE/ATA or SCSI hard disk to develop new bad sectors over time. These will normally be detected either during a routine scan of the hard disk for errors (the easy way) or when a read error is encountered trying access a program or data file (the hard way). When this happens, it is possible to tell the system to avoid using that bad area of the disk. Again, this can be done two ways. At the high level, the operating system can be told to mark the area as bad and avoid it (creating “bad sector” reports at the operating system level.). Alternately, the disk itself can be told at a low level to remap the bad area and use one its spares instead. This is normally done by using a zero-fill or diagnostic utility, which will scan the entire disk surface for errors and tell the controller to map out any problem areas.

Note: Bad sectors on a modern hard disk are almost always an indication of a greater problem with the disk. A new hard disk should never have bad sectors on it; if you buy one that does have bad sectors, immediately return it to the vendor for exchange (and don’t let them tell you “it’s normal”, because it isn’t.) For existing hard disks, the vast majority of time, a single bad sector that appears will soon be accompanied by friends. While you can map out and ignore bad sectors, you should make sure to contact the vendor if you see bad sectors appearing during scans, and make sure the data is backed up as well. Personally, I will not use any hard disk that is developing bad sectors. The risk of data loss is too high, and hard drives today are inexpensive compared to the cost of even an hour or two of recovering lost data (which takes a lot more than an hour or two!).

On some disks, remapped sectors cause a performance penalty. The drive first seeks and reads the sector header of the data, thinking it will be there; then, it sees that the sector has been remapped, and has to do another seek for the new sector. Newer drives using the No-ID sector format eliminate this problem by storing a format map, including sector remaps, in the memory of the drive’s controller.
Data recovery Salon welcomes your comments and share with us your ideas, suggestions and experience. Data recovery salon is dedicated in sharing the most useful data recovery information with our users and only if you are good at data recovery or related knowledge, please kindly drop us an email and we will publish your article here. We need to make data recovery Salon to be the most professional and free data recovery E-book online.

 
 

World’s Top Data Recovery Hardware Tools


Easy to use at good price
Recover SATA, IDE, External HDDs, NVME SSDs, etc  Order Now here

POTABLE DEVICE & NVME SSD RECOVERY TOOL

Recover USB Device and NVME SSDs at high speed! Read Details here.

DFL-PCIE DATA RECOVERY RECHARGE

Best data recovery hardware tool to start a data recovery business, read details here

RECOVER SCRATCHED HDDS


Recover lost data from scratched hard drives, read details here.

SURFACE PRO. RECOVERY


Recover Dead Surface Pro. Laptops here

BEST HEAD REPLACEMENT TOOLS


The most cost-effective head replacement tools for Seagate, WD, Samsung, Hitachi, Toshiba, Fujitsu

 
 

Recents Posts

Apple SSD Data Recovery Adapter Pro.

April 30, 2025 3:03 AM / no comments

 

Strongly Recommended HDD ROM Read and Writing Tools

March 22, 2025 7:47 AM / no comments

 

Become a Reseller of Top-rated Data Recovery Tools in 2025

February 9, 2025 4:00 AM / no comments

 
 

Tags

Add new tag advanced data recovery training bad sectors Clean room Computer Forensics data backup data loss Data recoveries from flash and SSD Data recovery Data recovery engineer Data recovery equipment data recovery hardware Data Recovery Jobs Data Recovery Salon Data Recovery Services Data recovery software data recovery tips Data recovery tool Data Recovery Tools Data recovery training Data Security FAT Firmware free data recovery software hdd repair hdd repair tool hdd repair tools Hitachi Data Recovery how to fix logical data recovery NAND NTFS physical data recovery RAID Recovery SalvationDATA salvationdata review Samsung Data Recovery Seagate Seagate data recovery seagate hdd repair SSD SSD data recovery wd hdd repair WD SMR HDD Recovery Western Digital

Data Recovery Links

  • Head and Platter Swap Tools Factory
  • Top Data Recovery Tools
  • Data Recovery Australia
  • Data Recovery South Korea
  • Data Recovery France
  • HDD Repair Tools
  • Hitachi Global
  • Maxtor Hard Drives
  • PC Guide
  • Samsung Hard Drives
  • Seagate Technology
  • Storagere View
  • Toshiba Storage Device
  • Western Digital

Author

Sebean Hsiung
 
  • Raid Recovery
  • Flash Data Recovery
  • Hitachi Data Recovery
  • Seagate data recovery
  • Samsung Data Recovery
  • WD Data Recovery

Copyright © 2025 Data Recovery Salon. All rights reserved.