Hello all, after some googling i didn't found answer to my question, so i set it directly here: do it makes sense and is it possible to maintain bad block list of ext4 on fly? I mean, if ext4 get error from, for example from ata subsystem, and it will mark block as bad or may be better as "probably bad"? Since ext4 do anyway journal recovery, it can do some sort of auto-repair too. The reason why i ask is a story of laptop which i got for repair. After update, system failed to boot. One of system relevant files was placed on badblock which was already detected by kernel one month(!) before (it can be found in syslog). After reboot, system was unusable for average user. It is single bad block for 500GB, so it is not the case for replacement. In case if ext4 would maintain bad blocks on the fly, it would keep the system working. Hi-level tools should be responsible to notify user about FS and device degradation. PS: thanks for metadata_csum :) -- Regards, Oleksij
Attachment:
signature.asc
Description: OpenPGP digital signature