0

If 'alpha' was a physical place on HDD occupying 1000th sector once,

is 'alpha' a place on HDD occupyig 1000th sector forever?

Forever means regardless of 'got bad sectors, low format, reset S.M.A.R.T, remap..'

Here 1000th sector means 1000th sector in common HDD error checking program.

2
  • 1
    A "sector number" is essentially a physical address that maps to CHS disk coordinates. Sector numbers do not change. You seem to conflate "sector number" with LBA, logical block address, which is how addresses are specified by the host computer accessing the (modern) drive.
    – sawdust
    Commented Jun 10, 2020 at 19:25
  • Thank you very much! That's what I wanted
    – imida k
    Commented Jun 10, 2020 at 20:35

1 Answer 1

0

Disks have spare sectors and will silently use them to replace bad ones. If a failing sector is found, disk's firmware will try to recover it and write whatever was read into a spare sector. This sector is then logically remapped into failed sector's address. Under normal operation the computer won't notice a difference. You may notice it, however, because recovering a sector can take a long time. That's why failing disks slow computers down significantly.

Number of reallocated sectors should be reported by the disk in its SMART data. If you're seeing bad sectors in surface scans, it means the disk ran out of spare sectors. This will also be indicated in SMART. Such disk can fail anytime and should not be trusted.

SSDs are an interesting case, because in addition to excluding bad sectors, they cycle good sectors all the time. That's because SSD blocks (storage units consisting of multiple sectors) will endure a finite number of writes. Once a certain threshold is reached, a whole block will become read-only. To avoid uneven wear of blocks and to improve performance, SSD controller will always try to write to a least worn unused block. If just a few sectors are to be updated, it will read original block, edit those sectors in memory, write result to a new block, remap the original one and mark it as unused. Basically in an SSD blocks of sectors are remapped all the time, their logical addresses are temporary - unlike with HDD sectors, when sectors are remapped only due to a failure.

1
  • Thank you! it was helpful.
    – imida k
    Commented Jun 10, 2020 at 20:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .