Answer the question
In order to leave comments, you need to log in
Is there a file system that works with bad disks?
I formulated the question a little clumsily, the essence is as follows, let's say there is a certain HDD that has endured a lot in its life and it has a lot of clearly bad and slow sectors, controllers can remove bad sectors from service, but they do this only when they are forced to and a "list" of such bad sectors they usually have limited. So far, I found the only working solution in self-made software, which clogs the entire disk with identical files, then compares them all with the original, leaves all those who were considered bad, deletes the rest, as a result, all bad sectors will be "inside" files that will forever lie on the disk. This approach has a lot of disadvantages, for example, you can forget about defragmentation, it will be impossible to do it, etc.
The question is, is there a file system that supports such lists or puts some marks on itself, saying that it’s better not to write here?
ps about throwing out I will answer right away - the desire to throw out immediately disappears when I see the price tags but new screws, and 2TB is not small.
Answer the question
In order to leave comments, you need to log in
controllers are able to remove bad sectors from service, but they do this only when they are forced toThese are all fairy tales that tell about programs that re-allocate bad blocks. In fact, if you look into the AHCI specification, you won't find anything like that. There are no such commands in the protocol. The controller should take care of this. If bad blocks appear on the disk (not just an entry in SMART, but unreadable areas), then this only means that the spare area is over and there is nowhere to re-allocate sectors.
Although you have already written an answer about throwing it out, I still can’t help but write IMHO.
This approach to problem solving is a crooked crutch.
You can draw an analogy with a car. When 2 and 4 gears do not work for you, but in principle you can ride.
With this approach, you will lose files as well. And suddenly.
Save some money and buy a new drive. Sectors die for a reason, and over time, your entire disk will die.
Victoria or MHDD, but if there are a lot of bad sectors or blocks, then carefully back up all the data that will be available, this can be a long process and the disk will continue to pour entropy! It can only be thrown away!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question