The Wayback Machine - https://web.archive.org/web/20140201174433/http://datarecovery.mjm.co.uk/sectorremapping.html

Data Recovery
Emergencies
0800 072 3282

Hard Disk Bad Sector Mapping

When a hard disk is manufactured, there are areas on the platter that have bad sectors. Considering that on a 200 GB hard disk there are 400 million sectors, then a few bad sectors is only a miniscule proportion of the total sectors. During the final test phases of a hard disk, the platters are scanned at the factory and the bad sectors are mapped out - these are generally called 'Primary Defects'. The primary defects are stored in tables in the firmware zone, or in some cases the ROM of a hard disk.

When you buy a brand new hard disk, you will most likely be completely unaware of these bad sectors and the numbers because they are 'mapped out' using 'translator' algorithms.

Modern hard disk use Logical Block Addressing, this describes the sector numbering system on the hard disk, and goes in sequence
0,1,2,3,4,5,.....n-1,n (where n is the last sector on the drive.

Spare sector pools

All modern drive have a spare sector pool. This is mainly used as bad sectors develop during the life of the hard disk and any new bad sectors are replaced with good ones from the spare sector pool, again this process is invisible to the user and most users will never know that anything has changed.

How the Bad Sector Mapping Works

Translation Algorithms

When a hard disk is powered up, the p-list and g-list are usually loaded into RAM on the controller card. As requests for data come through, the location where the data is required from is passed to the translator, which makes calculations as to which sectors to actually read in order to get to the actual data.

So, in our example above, if we wanted the data from LBA 6 the translator would first run through the p-list and adds 2 for the two bad sectors found at the factory, it then checks this value in the G-list and finds it has been reallocated to sector 104. It then reads sector 104 and presents you with the data.


Free diagnosis, no data recovery, no fee

All data recovery work undertaken by MjM is under a Free diagnosis and a no recovery no-fee policy. If we can't recover your data, then there is no fee for you to pay.

If you have lost data or your drive has stopped working contact us now.