From: Serguei M. <mi...@ci...> - 2006-09-02 16:45:24
|
Hello, Please, see subject. Is that possible? I'm asking this because when you are trying to access some data on the disk and kernel reports read errors, and smartmontools report about uncorrectable sectors, the data typically can not be recovered any more. Too late... Now, disk hardware has ECC bytes to recover from correctable read errors. smartmontools report the total number of such recoveries in Hardware_ECC_Recovered attribute but without any details, like the sector number and frequency of these recoveries in this sector, and/or a number of wrong and corrected bytes/bits in the sector, etc. In theory, some kind of statistics regarding such minor failures could give an idea about sectors which are still readable but may fail soon. This would greatly improve the chance to duplicate/copy/protect data, or one could force the disk firmware to reallocate data in this sector preventing its total loss. What do you think about this. Is it possible? For example, look at readcd tool. It has an option to check CDs against C2 read errors which are not fatal, they are corrected in the CD drive hardware. However, the number of these errors may say that it is time to copy that CD on a new one and save data for the future. Similar capability exists for DVD drives. However, I don't know any Linux utility which supports this functionality. Do you? Best regards, Serguei. |