What happens to bad sectors?

  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in please checkout the “Tips & Tricks” page for some very handy tips!

    /Steve.
  • BootAble – FreeDOS boot testing freeware

    To obtain direct, low-level access to a system's mass storage drives, SpinRite runs under a GRC-customized version of FreeDOS which has been modified to add compatibility with all file systems. In order to run SpinRite it must first be possible to boot FreeDOS.

    GRC's “BootAble” freeware allows anyone to easily create BIOS-bootable media in order to workout and confirm the details of getting a machine to boot FreeDOS through a BIOS. Once the means of doing that has been determined, the media created by SpinRite can be booted and run in the same way.

    The participants here, who have taken the time to share their knowledge and experience, their successes and some frustrations with booting their computers into FreeDOS, have created a valuable knowledgebase which will benefit everyone who follows.

    You may click on the image to the right to obtain your own copy of BootAble. Then use the knowledge and experience documented here to boot your computer(s) into FreeDOS. And please do not hesitate to ask questions – nowhere else can better answers be found.

    (You may permanently close this reminder with the 'X' in the upper right.)

Bly

New member
Feb 20, 2025
2
0
Hi, looking at the manual and forum, I still don't get what happens to bad sectors after they are marked as bad/unrecoverable.

Are they put in a list and and I can forget them, or they will be encountered again if I install any file system on the disk?

I'd like to use a drive I know has failing sectors but not important stuff so I'm fine with it, I just will be happy any bad sector being marked as.. bad! and forget it afterwards, is this possible?

And, running spinrite once every six months or so, is it possible adding the new bad ones without losing time on the sectors previously marked bad I won't want or care to recovery?

TIA!
 
As far as I understand, for 'modern' IDE/ATA/AHCI drives:

Sectors marked bad by the operating system, such as via ChkDsk /r, may be returned to try, try, try again after subsequent reformatting or clearing by any method. SpinRite will re-check these. SpinRite 6.1 will NOT 'tell' the operating system. SpinRite 6 will.

Sectors 'marked bad' by SpinRite and by the drive itself, generally are reallocated so they 'appear' as useful LBA logical block addresses once again, the drive appearing flawless, the bad sector physical location never to be used again, the good replacement address to carry on. Since the original bad physical address is 'gone', SpinRite will not recheck the original physical address, only check the reallocated new good address.

If we can see a SpinRite log attached to a post here in the GRC Forums, then we can deduce more.

If the bad sector count grows, the drive may be heading for inoperability.

If the bad sector count stays stable, they may be idiopathic, 'acceptable'.

- - - - -

Hey, gang, have I got it? Is there more?

How involved are the particulars and exceptions?

Is it possible to create an exhaustive chart?

.
 
Last edited:
Hi, looking at the manual and forum, I still don't get what happens to bad sectors after they are marked as bad/unrecoverable.

Are they put in a list and and I can forget them, or they will be encountered again if I install any file system on the disk?
Hi Bly! And welcome to the forum! Good questions!

If SpinRite is in data recovery (Level 2 and up) SR will attempt to write all zeros to a bad sector. This will typically trigger the drive's firmware to "re-allocate" the bad sector by taking it out of service and replacing it with a good sector from good sectors reserved on the drive for that purpose. A re-allocated bad sector will never be seen again by SpinRite, any OS, or any file write.

I'd like to use a drive I know has failing sectors but not important stuff so I'm fine with it, I just will be happy any bad sector being marked as.. bad! and forget it afterwards, is this possible?
Yes. Since data loss is not a concern, a level 2 DynaStat 0 run will typicality force re-allocation of all unreadable sectors: C:\>spinrite dynastat 0 level 2
or C:\>spinrite dynastat 0 and select level 2 in the SpinRite app.

And, running spinrite once every six months or so, is it possible adding the new bad ones without losing time on the sectors previously marked bad
Yes.
I won't want or care to recovery?
This drive should never be used for important or critical data.
 
  • Like
Reactions: Bly
Thank you all for the informations! I'll do as suggested, level 2 and dynastat disabled.
And, ofc, that drive is for various experiments so no important data 😇