I recently used
ddrescue to recover data from an old 30 GB drive that had gone bad. ddrescue took about 24 hours to run, but when it finished I had a 99.99+% good copy, with only about 70 errors. The partition information is OK, so I can read the new drive with no problem. So far, so good.
Now I'd like to figure out which files the unreadable sectors belong to, so I know if any important files were compromised files. I have the ddrescue logfile, which lists the drive contents as blocks of readable/unreadable sectors. How can I use this output to figure out which files were not recovered completely?
I've seen
this post on the ddrescue mailing list (linked to by
flabdablet in a previous question about data recovery), but my drive is FAT32, and MSFT's nfi.exe doesn't work for non-NTFS drives. I found
another post on the ddrescue mailing list by the same author, in which he links to a Perl program of his that looks up FAT32 filenames based on input from the ddrescue logfile. Exactly what I need, right? However, the program is listed as "under construction" in his post, and it doesn't work for me with sectors numbered above about 10,000,000. Unfortunately all but 8 or 9 of my unreadable sectors are above that threshold. I've banged my head against its 1500 lines of code for the last week or so trying to find the reason it fails and succeeded only in making my head hurt. (I emailed the author about it last weekend and have gotten no response.)
I did the initial ddrescue-ing on an ancient Pentium II running Debian Sarge, but I also have a more modern machine running Win XP. Any suggestions?
posted by rhizome at 10:52 PM on July 20, 2008