by Ctein
I hadn't planned on a third installment on this topic, but the level of interest in file recovery was so high that I decided a follow-up piece was an order.
I don't know why I should be surprised. Really, the worst thing that can happen to a photographer is losing their photos. That pretty well trumps any discussions of technique, aesthetics, or gear. If you don't have the photograph, all of that is pointless. So, for the record, this isn't a trivial matter, and this isn't a case of dwelling on minutia. If the subject really bores you, skip on to the next topic. Because, believe you me, it ain't the least bit boring when it happens to you. And it seems to have happened to way too many of us. 'Nough said? Back to the program in progress.
Following the many helpful suggestions I received from readers, I downloaded eight different image recovery programs to try out on my misbehaving card. One of them, Restorer 2000, wouldn't run at all on my system (Windows 2000, SP4) for some reason. Four of them couldn't find any photographs on the card: File Scavenger, FreeUndelete, Zero Assumption Recovery, and Lexar Image Rescue all failed to recover any files, no matter what search options I used.
Three of them, Smart Recovery, PhotoRec, and PhotoRescue, were able to recover 44 of the photos on the card. That's about two-thirds of them. One of those photos illustrates this column. All three programs recovered exactly the same files.
As a follow-up experiment, I formatted the card in the camera and set the data recovery programs loose on it, because it's been reported that in some cases recovery utilities do better with a "clean" file structure than a badly munched one. That wasn't true in this case; after I formatted of the card, none of the utilities found any photos to recover. But, hey, I got two-thirds of them back! I'm pretty damned happy.
The lesson to take home from this column is that if one recovery utility doesn't work for you, try a different one. And don't give up until you've tried every one you can find.
Next column will be something entirely different, I promise.
______________
Ctein
Great to hear you manged to recover most of your photos.
I hope you won't have this kind of worry again!
Posted by: Erez | Sunday, 15 July 2007 at 12:02 AM
Of the 3 that worked - did you have a preference regarding how it did it's job, ease, interface or perhaps free(?), that would set it above the others?
Posted by: Chris Savery | Sunday, 15 July 2007 at 12:56 AM
I've had excellent results with Restorer 2000, on disks that the other programs were completely flummoxed by. It can take upwards of 8 hours on a dual processor 4 gig machine to to find the files on a 200gig drive, but that's after the file allocation tables and boot records were so corrupt that other programs wouldn't even recognize the drive.
Posted by: Hugh Crawford | Sunday, 15 July 2007 at 03:27 AM
It is important to realise that any photo recovery software will have the best chances of getting back your images if you stick to these few rules:
- Always format the card in-camera at the beginning of each shoot (I mean "format", not "delete all" - there's huge difference)
- Never delete a photo in-camera, files will be written sequentially that way.
- Never write to the card on your computer - let your camera be the only thing that writes to it.
These hints all have to do with the layout of the file-system. For instance - a file that's deleted is removed from the directory listing and the space previously taken up by it is marked blank, although the data is still there. That way the card's file-system gets fragmented by these holes. Subsequent files might not be written in one piece, but split up over a couple of these holes, thus overwriting the hidden data left by the deleted images.
Photo recovery tools will have a hard time piecing together fragmented files - most fail at that.
In short:
A file-system that's filled up from a clean start (freshly formatted) in sequential order by each new file will be easiest to recover.
These hints are quite old and repeated frequently on the net. If anyone has new information of how the algorithms in modern cameras might have changed, please come forward. I am no expert on file-system technology.
Posted by: FredW | Sunday, 15 July 2007 at 11:31 AM
if you look at the wikipedia entry for cf cards they describe a technology called wear leveling-essentially the card has a fixed number of read/write cycles and the file system attempts to avoid writing data in the same location over and over to spread the wear out. I think this means that any idea of data being actually written sequentially on cf cards or indeed on hard drives too is a fallacy. All of the hints assume computers are more like humans than computers, they are quite happy writing data all over the drive and today their is little performance penalty, the access is so fast.
But I will throw one hint into the fray-I have been choosing to shoot raw+jpeg now for a while with the idea that if I have a card failure, I have twice the chances of recovering an intact photo. Fortunately I have yet to test this...
Posted by: robert wright | Sunday, 15 July 2007 at 11:57 AM
Dear Chris,
All three that worked for me were free, and none of them were rocket science to use.
pax / Ctein
Posted by: Ctein | Monday, 16 July 2007 at 03:49 AM
Dear Robert,
Hard drives and flash RAM are very different beasts. While it is possible to wear out magnetic media (I've seen core memory that actually got worn out!) the mechanical components of a hard drive will have ground themselves to dust long before that will ever happen.
In fact, contiguous file access is still a factor in hard drive performance, which is why OS's do disk optimization. If it has any effect on disk life, it is to increase it, as optimization reduces the number of head repositionings.
pax / Ctein
Posted by: Ctein | Monday, 16 July 2007 at 04:06 AM
When I accidentally deleted all of my wife’s data – including documents and pictures – SanDisk’s RescueProTM saved my hind end (and probably the rest of me). It managed to recover everything in fairly short order, including my marriage. And it’s free.
Chris
http://christopherwlane.blogspot.com/
Posted by: Chris Lane | Monday, 16 July 2007 at 11:18 AM