Is it possible to find corrupt files spanning across bad sectors of a hard drive or find files fragmented beyond part of a partially copied partition?

Solution 1:

This question is rather old, but someone with a similar issue might be interested.

The ddr_utility tool set contains several tools designed to improve the quality of a data recovery made with ddrescue. It includes two tools which have the specific purpose of locating the files affected by unreadable sectors : ddru_ntfsfindbad and ddru_findbad. I've tried the first, and it worked very well, generating a detailed list of the corrupted files with the size of corrupted data for each one (it allowed me to repair many of them, which happened to be duplicated, sometimes two or three instances of the same file were corrupted but at different spots, so by combining the good parts I could regenerate 100% of the original file). But it only works for NTFS partitions obviously, and requires that the system files, most notably the MFT (generally located within the first 5GB of the partition), have been fully recovered. For a Macintosh partition, the second tool may provide the desired result, although it's said in the provided manual that it's generally less efficient than the NTFS-specific tool. Otherwise, one would have to generate a list of bad sectors from the logfile, and find a way to identify the files corresponding to those sectors on that type of partition, I have no idea how.